carlosperate / ardublockly

Visual programming for Arduino. Based on blockly, implements Arduino code generation and facilitates program uploading.
http://ardublockly.embeddedlog.com
Apache License 2.0
457 stars 280 forks source link

Fixed closure compile error #255

Closed MrKumakun closed 8 months ago

MrKumakun commented 8 months ago

Problems generated when "build.py" is executed:

FATAL ERROR Required namespace "goog.events.EventWrapper" never defined. ??? at line 55: goog.requireType('goog.events.EventWrapper');

Fixed by adding the required namespaces to "blockly.js".

And while at it, optional use_closure_library changed to true. That can increase the compression ratio.

It is built and test using Python 2.7.12 on Windows10.