mo4islona / node-blockly

Blockly for Node.js and Browser via CommonJS module
133 stars 81 forks source link

Fix blocks access to 'goog' #8

Closed benjie closed 7 years ago

benjie commented 7 years ago

Right-clicking on certain nodes (such as count with i from 1 to 10 by 1 do...) triggered an error goog is not defined:

screenshot 2016-12-20 12 10 07

This patch passes the google library through via the Blockly object without breaking any other closure-library-using dependencies.