Correct deprecated argument order in domToWorksapce call in WorkspaceFactory.
This commit is contained in:
Andrew n marshall
2018-02-12 10:31:54 -08:00
parent 4a4a0fe569
commit 03538c19a7

View File

@@ -178,7 +178,7 @@ WorkspaceFactoryGenerator.prototype.generateInjectString = function() {
' workspace blocks XML from Workspace Factory. */\n' +
'var workspaceBlocks = document.getElementById("workspaceBlocks"); \n\n' +
'/* Load blocks to workspace. */\n' +
'Blockly.Xml.domToWorkspace(workspace, workspaceBlocks);';
'Blockly.Xml.domToWorkspace(workspaceBlocks, workspace);';
return finalStr;
};