Ahh, thanks - yes, it looks like a PR went in but they never updated the minified version :(I've just updated it.
EspruinoDocs/bin/minify.js is definitely the right thing to do... Can you try pulling EspruinoDocs and trying again? I had avoided adding the closure compiler into the repo (in which case it uses the online version which I think may ignore some of the compiler flags we want) but I've just added it so now it'll run offline.
What happened was the compiler ran but it added some polyfills (which we didn't want) which caused minify.js to fail. Should be ok now
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Ahh, thanks - yes, it looks like a PR went in but they never updated the minified version :(I've just updated it.
EspruinoDocs/bin/minify.js
is definitely the right thing to do... Can you try pulling EspruinoDocs and trying again? I had avoided adding the closure compiler into the repo (in which case it uses the online version which I think may ignore some of the compiler flags we want) but I've just added it so now it'll run offline.What happened was the compiler ran but it added some polyfills (which we didn't want) which caused minify.js to fail. Should be ok now