Upgraded to YUI Compressor v2.3.5 from v2.2.5 so the change noted below are all related to work done by Julien Lecomte to the actual compressor. Discussions
+ Added a warning when more than one 'var' statement is used in a single scope. Automatic coalescence is extremely complicated, and would be unsafe if not done properly.
+ Expanded the list of reserved words used by isValidIdentifier()
+ C-style comments starting with /*! are preserved. This is especially useful with comments containing copyright/license information.
+ Compressing an empty JS file throws an error [SourceForge bug #1884207]
+ When a string is the first token in a function body, it was removed from the compressed file [SourceForge bug #1884314]
+ Added test against list of reserved words in method isValidIdentifier.
+ Removed all System.exit() statements. Throw exceptions instead. This is especially useful when running the compressor from within a J2EE container.
[SourceForge bug #1834750]
+ Transform obj["foo"] into obj.foo whenever possible, saving 3 bytes.
+ Transform 'foo': ... into foo: ... whenever possible, saving 2 bytes.
+ Added support for multi-line string literals [SourceForge bug #1871453]
+ Added support for unescaped slashes inside character classes in regexp.
+ Minor performance improvements.
+ Preserve the escaping for an octal representation of a character in string literals [SourceForge bug #1844894]
+ CSS: Preserve comments that hide CSS rules from IE Mac
+ CSS: Added support for box model hack
|There are no threads.
Web Hosting provided by Network