mirror of
https://github.com/google/blockly.git
synced 2026-01-09 10:00:09 +01:00
24 lines
747 B
JavaScript
24 lines
747 B
JavaScript
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');
|
|
// TODO: Add the following. Expecting additional warnings.
|
|
//goog.require('Blockly.Constants.Lists');
|
|
//goog.require('Blockly.Constants.Colour');
|
|
//goog.require('Blockly.Constants.Variables');
|
|
//goog.require('Blockly.Constants.VariablesDynamic');
|
|
//goog.require('Blockly.Constants.procedures');
|
|
|
|
Main.init = function() {
|
|
Blockly.inject('blocklyDiv', {
|
|
'toolbox': document.getElementById('toolbox')
|
|
});
|
|
};
|
|
window.addEventListener('load', Main.init);
|