Fix XML across Blockly. (#2727)

Also fixes references to createSvgElement
This commit is contained in:
Neil Fraser
2019-07-30 15:08:47 -07:00
committed by Sam El-Husseini
parent 47574c670d
commit abc452109e
131 changed files with 267 additions and 381 deletions

View File

@@ -144,7 +144,7 @@
</script>
<xml id="workspace-blocks" xmlns="http://www.w3.org/1999/xhtml" style="display: none">
<xml xmlns="https://developers.google.com/blockly/xml" id="workspace-blocks" style="display: none">
<block type="turtle_basic"></block>
<block type="turtle_nullifier" y="120"></block>
<block type="turtle_changer" y="230"></block>

View File

@@ -81,10 +81,10 @@ Minimap.init = function(workspace, minimap) {
this.rect = document.getElementById('mapDiv').getBoundingClientRect();
// Create a svg overlay on the top of mapDiv for the minimap.
this.svg = Blockly.utils.createSvgElement('svg', {
'xmlns': 'http://www.w3.org/2000/svg',
'xmlns:html': 'http://www.w3.org/1999/xhtml',
'xmlns:xlink': 'http://www.w3.org/1999/xlink',
this.svg = Blockly.utils.dom.createSvgElement('svg', {
'xmlns': Blockly.utils.dom.SVG_NS,
'xmlns:html': Blockly.utils.dom.HTML_NS,
'xmlns:xlink': Blockly.utils.dom.XLINK_NS,
'version': '1.1',
'height': this.rect.bottom-this.rect.top,
'width': this.rect.right-this.rect.left,
@@ -94,7 +94,7 @@ Minimap.init = function(workspace, minimap) {
this.svg.style.left = this.rect.left + 'px';
// Creating a rectangle in the minimap that represents current view.
Blockly.utils.createSvgElement('rect', {
Blockly.utils.dom.createSvgElement('rect', {
'width': 100,
'height': 100,
'class': 'mapDragger'

View File

@@ -71,8 +71,7 @@ Blockly.Msg.PROCEDURES_HUE = '290';
/// For more context, see
/// [[Translating:Blockly#infrequent_message_types]].\n{{Identical|Item}}
Blockly.Msg.VARIABLES_DEFAULT_NAME = 'item';
/// default name - A simple, default name for an unnamed function or
// variable. Preferably indicates that the key is unnamed.
/// default name - A simple, default name for an unnamed function or variable. Preferably indicates that the item is unnamed.
Blockly.Msg.UNNAMED_KEY = 'unnamed';
/// button text - Button that sets a calendar to today's date.\n{{Identical|Today}}
Blockly.Msg.TODAY = 'Today';

View File

@@ -757,7 +757,7 @@ function test_events_newblock_newvar_xml() {
var dom = Blockly.Xml.textToDom(
'<xml xmlns="https://developers.google.com/blockly/xml">' +
' <block type="field_variable_test_block" id="block1">' +
' <field name="VAR" id="id1" variabletype="">name1</field>' +
' <field name="VAR" id="id1">name1</field>' +
' </block>' +
'</xml>');
Blockly.Xml.domToWorkspace(dom, workspace);

View File

@@ -163,10 +163,10 @@ function test_domToWorkspace_VariablesAtTop() {
' <variables>' +
' <variable type="type1" id="id1">name1</variable>' +
' <variable type="type2" id="id2">name2</variable>' +
' <variable type="" id="id3">name3</variable>' +
' <variable id="id3">name3</variable>' +
' </variables>' +
' <block type="field_variable_test_block">' +
' <field name="VAR" id="id3" variabletype="">name3</field>' +
' <field name="VAR" id="id3">name3</field>' +
' </block>' +
'</xml>');
Blockly.Xml.domToWorkspace(dom, workspace);
@@ -210,7 +210,7 @@ function test_domToWorkspace_VariablesAtTop_MissingType() {
' <variable id="id1">name1</variable>' +
' </variables>' +
' <block type="field_variable_test_block">' +
' <field name="VAR" id="id1" variabletype="">name3</field>' +
' <field name="VAR" id="id1">name3</field>' +
' </block>' +
'</xml>');
Blockly.Xml.domToWorkspace(dom, workspace);
@@ -233,7 +233,7 @@ function test_domToWorkspace_VariablesAtTop_MismatchBlockType() {
' <variable type="type1" id="id1">name1</variable>' +
' </variables>' +
' <block type="field_variable_test_block">' +
' <field name="VAR" id="id1" variabletype="">name1</field>' +
' <field name="VAR" id="id1">name1</field>' +
' </block>' +
'</xml>');
Blockly.Xml.domToWorkspace(dom, workspace);

View File

@@ -50,11 +50,11 @@
<script src="xml_test.js"></script>
<div id="blocklyDiv"></div>
<xml id="toolbox-minimal" style="display: none">
<xml xmlns="https://developers.google.com/blockly/xml" id="toolbox-minimal" style="display: none">
<block type="basic_block"></block>
</xml>
<xml id="toolbox-categories" style="display: none">
<xml xmlns="https://developers.google.com/blockly/xml" id="toolbox-categories" style="display: none">
<category name="First">
<block type="basic_block">
<field name="TEXT">First</field>

View File

@@ -1,6 +1,6 @@
suite('Insert/Modify', function() {
setup(function() {
var xmlText = '<xml xmlns="http://www.w3.org/1999/xhtml">' +
var xmlText = '<xml xmlns="https://developers.google.com/blockly/xml">' +
'<block type="stack_block" id="stack_block_1" x="12" y="38"></block>' +
'<block type="stack_block" id="stack_block_2" x="12" y="113"></block>' +
'<block type="row_block" id="row_block_1" x="13" y="213"></block>' +

View File

@@ -1304,14 +1304,14 @@ h1 {
<block type="text_print">
<value name="TEXT">
<block type="variables_get">
<field name="VAR" id="item" variabletype="">item</field>
<field name="VAR" id="item">item</field>
</block>
</value>
<next>
<block type="text_print">
<value name="TEXT">
<block type="variables_get">
<field name="VAR" id="item" variabletype="">item</field>
<field name="VAR" id="item">item</field>
</block>
</value>
</block>

View File

@@ -48,11 +48,11 @@ limitations under the License.
var svgSpace;
function addPathAt(path, x, y) {
var group = Blockly.utils.createSvgElement('g',
var group = Blockly.utils.dom.createSvgElement('g',
{
'transform': 'translate(' + (x + 50) + ', ' + y + ')'
}, svgSpace);
Blockly.utils.createSvgElement('path', {
Blockly.utils.dom.createSvgElement('path', {
'd': 'M 0,0 ' + path,
'marker-start': 'url(#startDot)',
'marker-end': 'url(#endDot)',

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="colour_blend">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="colour_blend"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="colour_picker">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="colour_picker"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="colour_random">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="colour_random"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="colour_rgb">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="colour_rgb"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_flow_statements">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_flow_statements"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_for">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_for"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_forEach">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_forEach"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_if">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_if"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_if_else">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_if_else"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_if_elseif">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_if_elseif"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_if_if">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_if_if"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_ifelse">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_ifelse"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_repeat">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_repeat"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_repeat_ext">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_repeat_ext"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="controls_whileUntil">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="controls_whileUntil"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_create_empty">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_create_empty"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_create_with">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_create_with"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_create_with_container">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_create_with_container"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_create_with_item">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_create_with_item"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_getIndex">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_getIndex"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_getSublist">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_getSublist"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_indexOf">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_indexOf"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_isEmpty">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_isEmpty"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_length">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_length"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_repeat">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_repeat"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_reverse">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_reverse"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_setIndex">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_setIndex"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_sort">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_sort"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="lists_split">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="lists_split"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="logic_boolean">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="logic_boolean"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="logic_compare">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="logic_compare"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="logic_negate">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="logic_negate"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="logic_null">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="logic_null"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="logic_operation">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="logic_operation"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="logic_ternary">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="logic_ternary"></block>
</xml>

View File

@@ -1,4 +1,4 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_arithmetic">
<field name="OP">ADD</field>
<value name="A">

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_arithmetic">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_arithmetic"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_atan2">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_atan2"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_change">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_change"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_constant">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_constant"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_constrain">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_constrain"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_modulo">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_modulo"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_number">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_number"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_number_property">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_number_property"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_on_list">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_on_list"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_random_float">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_random_float"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_random_int">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_random_int"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_round">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_round"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_single">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_single"></block>
</xml>

View File

@@ -1,4 +1,4 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_arithmetic">
<field name="OP">MINUS</field>
<value name="A">

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="math_trig">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="math_trig"></block>
</xml>

View File

@@ -1,6 +1,6 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable type="" id=";yuq?=_C|_qk64!)f:m^">item</variable>
<variable id=";yuq?=_C|_qk64!)f:m^">item</variable>
</variables>
<block type="controls_ifelse">
<statement name="ELSE">
@@ -50,7 +50,7 @@
</statement>
<statement name="ELSE">
<block type="text_append">
<field name="VAR" id=";yuq?=_C|_qk64!)f:m^" variabletype="">item</field>
<field name="VAR" id=";yuq?=_C|_qk64!)f:m^">item</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">f00</field>
@@ -58,7 +58,7 @@
</value>
<next>
<block type="text_append">
<field name="VAR" id=";yuq?=_C|_qk64!)f:m^" variabletype="">item</field>
<field name="VAR" id=";yuq?=_C|_qk64!)f:m^">item</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">bar</field>

View File

@@ -1,4 +1,4 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="logic_compare">
<field name="OP">EQ</field>
<value name="A">

View File

@@ -1,4 +1,4 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="colour_rgb">
<value name="RED">
<shadow type="math_number">

View File

@@ -1,4 +1,4 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="colour_rgb" inline="true">
<value name="RED">
<shadow type="math_number">

View File

@@ -1,9 +1,9 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable type="" id="YUz?xxnE}SFx_,jmW#s;">item</variable>
<variable id="YUz?xxnE}SFx_,jmW#s;">item</variable>
</variables>
<block type="text_append">
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;" variabletype="">item</field>
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;">item</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">one</field>
@@ -11,7 +11,7 @@
</value>
<next>
<block type="text_append">
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;" variabletype="">item</field>
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;">item</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">two</field>
@@ -19,7 +19,7 @@
</value>
<next>
<block type="text_append">
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;" variabletype="">item</field>
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;">item</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">three</field>
@@ -27,7 +27,7 @@
</value>
<next>
<block type="text_append">
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;" variabletype="">item</field>
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;">item</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">four</field>
@@ -35,7 +35,7 @@
</value>
<next>
<block type="text_append">
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;" variabletype="">item</field>
<field name="VAR" id="YUz?xxnE}SFx_,jmW#s;">item</field>
<value name="TEXT">
<shadow type="text">
<field name="TEXT">five</field>

View File

@@ -1,4 +1,4 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="logic_negate">
<value name="BOOL">
<block type="logic_boolean">

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="procedures_callnoreturn">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="procedures_callnoreturn"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="procedures_callreturn">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="procedures_callreturn"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="procedures_defnoreturn">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="procedures_defnoreturn"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="procedures_defreturn">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="procedures_defreturn"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="procedures_ifreturn">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="procedures_ifreturn"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="procedures_mutatorarg">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="procedures_mutatorarg"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="procedures_mutatorcontainer">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="procedures_mutatorcontainer"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_basic_empty">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_basic_empty"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_basic_empty_with_mutator">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_basic_empty_with_mutator"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_basic_limit_instances">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_basic_limit_instances"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_basic_value_to_stack">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_basic_value_to_stack"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_basic_value_to_statement">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_basic_value_to_statement"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_dropdowns_dynamic">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_dropdowns_dynamic"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_dropdowns_images">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_dropdowns_images"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_dropdowns_images_and_text">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_dropdowns_images_and_text"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_dropdowns_long">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_dropdowns_long"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_fields_angle">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_fields_angle"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_fields_checkbox">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_fields_checkbox"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_fields_colour">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_fields_colour"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_fields_date">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_fields_date"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_fields_label_serializable">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_fields_label_serializable"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_fields_text_input">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_fields_text_input"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_fields_variable">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_fields_variable"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_images_datauri">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_images_datauri"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_images_fliprtl">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_images_fliprtl"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_images_large">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_images_large"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_images_many_icons">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_images_many_icons"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_images_missing">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_images_missing"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_images_small">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_images_small"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_numbers_float">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_numbers_float"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_numbers_halves">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_numbers_halves"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_numbers_hundredths">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_numbers_hundredths"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_numbers_three_halves">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_numbers_three_halves"></block>
</xml>

View File

@@ -1,4 +1,3 @@
<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="test_numbers_whole">
</block>
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="test_numbers_whole"></block>
</xml>

Some files were not shown because too many files have changed in this diff Show More