Initial commit
This commit is contained in:
17
node_modules/node-blockly/blockly/tests/compile/main.js
generated
vendored
Normal file
17
node_modules/node-blockly/blockly/tests/compile/main.js
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
goog.provide('Main');
|
||||
// Messages (in some language)
|
||||
goog.require('Blockly.Msg.en');
|
||||
// Core
|
||||
goog.require('Blockly');
|
||||
// Blocks
|
||||
goog.require('Blockly.Constants.Logic');
|
||||
goog.require('Blockly.Constants.Loops');
|
||||
goog.require('Blockly.Constants.Math');
|
||||
goog.require('Blockly.Constants.Text');
|
||||
|
||||
Main.init = function() {
|
||||
Blockly.inject('blocklyDiv', {
|
||||
'toolbox': document.getElementById('toolbox')
|
||||
});
|
||||
};
|
||||
window.addEventListener('load', Main.init);
|
||||
Reference in New Issue
Block a user