oh, it is combination of closure online simple optimizations and pretokenisation, even the gist as is breaks if you enable both checkboxes first and then open the link of the colordisc as is. if I disable pretokenization the minification works and it runs fine.
Edit: oh it breaks even with minification turned off now. just enable pretokenization, close emulator and then click the colordisc emulator link again, I see HSVtoRGB is not defined, do you see it?
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.
oh, it is combination of closure online simple optimizations and pretokenisation, even the gist as is breaks if you enable both checkboxes first and then open the link of the colordisc as is. if I disable pretokenization the minification works and it runs fine.
Edit: oh it breaks even with minification turned off now. just enable pretokenization, close emulator and then click the colordisc emulator link again, I see HSVtoRGB is not defined, do you see it?