Re:Introducing Closure Tools
by gruseom on Friday November 06, 2009 @10:40AM
(#926155)
If the Closure "compiler" changes the behavior of a program, that means it's generating incorrect code. Can you give an example?
[ Parent
| on HN ]
Check out http://code.google.com/closure/compiler/docs/api-tutorial3.h...
(short version: inconsistencies between Closure renaming my_object.attribute to a minified a.a while in other places you use my_object['attribute'] which it can't minify to be a.a. You end up with a.a = 3 and a['attribute'] = {something else}).