jproulx / crypto-js

Automatically exported from code.google.com/p/crypto-js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to compile with Closure Compiler

GoogleCodeExporter opened this issue · comments

What steps will reproduce the problem?
One is unable to compile in closure compiler because of the code one line 51 of 
core.js. Closure rewrites the "init" property to some other value, but will not 
re-write the string.

Original issue reported on code.google.com by terinjokes@gmail.com on 12 Feb 2013 at 8:01

Sounds like you're trying to use advanced compilation. Any JS code would need 
to be specially crafted to work correctly with that compression level. I played 
around with that once, but the payoff seemed disproportionately small to the 
work required. I suggest you use closure compiler's simple optimizations. It's 
still one of the best minifiers available, and it's designed to work correctly 
with all valid JS.

Original comment by Jeff.Mott.OR on 12 Feb 2013 at 8:20

  • Changed state: WontFix