mirror of
https://github.com/google/blockly.git
synced 2025-12-16 06:10:12 +01:00
* Intentionally break Travis. * Alphabetize tests, remove orphaned test, and add fail to test that's running. * Unbreak test, disable OS X, move scripts, list compiler directory. * Test Java, break test. * Unbreak test, call compile script. * Compile main_compressed.js * Run test command using bash. * Fix path. * Exclude node modules. * Be more specific about JS files to compile. * Test failure. * Restore OSX, undo Blockly failure, remove compilation demo, add compilation test. * Delete manual test files. * Ignore downloaded/generated files. * Whitespace cleanup.
18 lines
452 B
JavaScript
18 lines
452 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');
|
|
|
|
Main.init = function() {
|
|
Blockly.inject('blocklyDiv', {
|
|
'toolbox': document.getElementById('toolbox')
|
|
});
|
|
};
|
|
window.addEventListener('load', Main.init);
|