mirror of
https://github.com/google/blockly.git
synced 2026-01-04 15:40:08 +01:00
Inject can now take an ID. Also, fix unit tests.
This commit is contained in:
@@ -121,7 +121,7 @@
|
||||
</xml>
|
||||
|
||||
<script>
|
||||
var workspace = Blockly.inject(document.getElementById('blocklyDiv'),
|
||||
var workspace = Blockly.inject('blocklyDiv',
|
||||
{toolbox: document.getElementById('toolbox')});
|
||||
Blockly.Xml.domToWorkspace(workspace,
|
||||
document.getElementById('startBlocks'));
|
||||
|
||||
Reference in New Issue
Block a user