Proberly i found out and isolated why in WebIDE minify was not working. This code works without minify:
var ha=function(){
this.ok={};
self=this;
};
Google Closure compiler fires an error:
JSC_CONSTANT_REASSIGNED_VALUE_ERROR: constant self assigned a value more than once at line 4 character 4
self=this;
The propper code should be:
var ha=function(){
this.ok={};
var self=this;
};
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 ?
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.
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