-
• #2
Thanks for the update. I've just added an issue for this: https://github.com/espruino/EspruinoWebIDE/issues/65
It's just the online Google Closure compiler, so yes - we should be able to see if there are errors.
-
• #3
Does the "whitespace only" method also remove comments? I believe I read somewhere that comments slow down the execution speed as well as whitespace.
-
• #4
I've just tested this, and yes - it does remove comments as well :)
And yes, comments do slow execution down - but only when inside a function - so if you put comments before the start of a function it won't make any difference at all.
Hi Gordon,
Proberly i found out and isolated why in WebIDE minify was not working. This code works without minify:
Google Closure compiler fires an error:
The propper code should be:
Now minify is working in WebIDE too. We do not see if the minify process had some problem. Is there a way to see the log/output of the built in minifier ?
Thx
Sacha