Swap order of arguments on domToWorkspace.

This commit is contained in:
Neil Fraser
2016-04-04 18:31:41 -07:00
parent 4ac1204550
commit 4e42a1b78e
17 changed files with 53 additions and 39 deletions

View File

@@ -124,8 +124,8 @@
var workspace = Blockly.inject('blocklyDiv',
{media: '../../media/',
toolbox: document.getElementById('toolbox')});
Blockly.Xml.domToWorkspace(workspace,
document.getElementById('startBlocks'));
Blockly.Xml.domToWorkspace(document.getElementById('startBlocks'),
workspace);
var myInterpreter = null;