sgrebnov / blockly

Blockly
4 stars 1 forks source link

Blockly_uncompressed. Dynamic scripts injection issue #1

Closed sgrebnov closed 11 years ago

sgrebnov commented 11 years ago

blockly_uncompressed.js

// Delete any existing Closure (e.g. Soy's nogoog_shim). document.write('< script type="text/javascript">var goog = undefined;'); // Load fresh Closure Library. document.write('< script type="text/javascript" src="' + window.BLOCKLY_DIR + '/../closure-library-read-only/closure/goog/base.js">'); document.write('< script type="text/javascript">window.BLOCKLY_BOOT()');

window.BLOCKLY_BOOT() is executed before base.js is loaded => error alert. TODO: test + investigate

VladimirTsyshnatiy commented 11 years ago

not svgweb issue