mirror of
https://github.com/google/blockly.git
synced 2026-01-07 00:50:27 +01:00
Add 'media' config option. Deprecate 'path' config option.
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
|
||||
<script>
|
||||
Blockly.inject(document.getElementById('blocklyDiv'),
|
||||
{path: '../../', maxBlocks: 5, toolbox: document.getElementById('toolbox')});
|
||||
{maxBlocks: 5, toolbox: document.getElementById('toolbox')});
|
||||
|
||||
function onchange() {
|
||||
document.getElementById('capacity').innerHTML = Blockly.mainWorkspace.remainingCapacity();
|
||||
|
||||
Reference in New Issue
Block a user