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