mirror of
https://github.com/google/blockly.git
synced 2026-03-12 16:20:12 +01:00
Inject can now take an ID. Also, fix unit tests.
This commit is contained in:
@@ -372,7 +372,7 @@ Code.init = function() {
|
||||
window.addEventListener('resize', onresize, false);
|
||||
|
||||
var toolbox = document.getElementById('toolbox');
|
||||
Code.workspace = Blockly.inject(document.getElementById('content_blocks'),
|
||||
Code.workspace = Blockly.inject('content_blocks',
|
||||
{grid:
|
||||
{spacing: 25,
|
||||
length: 3,
|
||||
|
||||
Reference in New Issue
Block a user