You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given this function: function test2(){ var a = "some text"; return a+="help", a+=" some more help";} which returns "some texthelp some more help"
When minified, gets converted into something like: function test2(){ var a = "some text"; return a+"help", a+=" some more help";} which returns "some text some more help"
Note the return a+"help"
This represents an issue when including in cassette .min.js files with a similar syntax as above - especially when the .min.js are 3rd party libraries. (I have noticed this when I used cassette with the colors plugin from Froala)
The text was updated successfully, but these errors were encountered:
The problem
Given this function:
function test2(){ var a = "some text"; return a+="help", a+=" some more help";}
which returns "some texthelp some more help"When minified, gets converted into something like:
function test2(){ var a = "some text"; return a+"help", a+=" some more help";}
which returns "some text some more help"Note the
return a+"help"
This represents an issue when including in cassette
.min.js
files with a similar syntax as above - especially when the.min.js
are 3rd party libraries. (I have noticed this when I used cassette with the colors plugin from Froala)The text was updated successfully, but these errors were encountered: