1 decade ago by audionerd
If you use the excellent
https://github.com/nefD/impact-tween/pull/1
The deeper issue is, jsmin expects that you've passed jslint before you minify. bake.php has no such requirement. So, you could run into subtle cases where the input is running fine, but the output introduces odd bugs.
And you won't know you have an error until you test in Firefox, which yells at you when it tries to parse your code. WebKit will ignore the error until you try to run it.
See also the "Caution" here http://www.crockford.com/javascript/jsmin.html
impact-tween
lib, and get a Firefox error saying 'invalid decrement operand', after you bake your code, here's a fix:https://github.com/nefD/impact-tween/pull/1
The deeper issue is, jsmin expects that you've passed jslint before you minify. bake.php has no such requirement. So, you could run into subtle cases where the input is running fine, but the output introduces odd bugs.
And you won't know you have an error until you test in Firefox, which yells at you when it tries to parse your code. WebKit will ignore the error until you try to run it.
See also the "Caution" here http://www.crockford.com/javascript/jsmin.html