Fixed syntax errors while minifying jquery-3.2.1#279
Conversation
Problem was that jQquery uses a property named 'throws', which is a future reserved keyword in YUI compressor. With the patch the check for the throws keyword has been removed, so the property is treated like any other regular property. Set version to 2.4.9-BSI-1.
|
Thanks a lot for providing a fix for this issue. |
|
@OlivierJaquemet A built version of this pull request is deployed at Bintray. Please note: That version is not an official build of yuicompressor. https://bintray.com/bsi-business-systems-integration-ag/scout-eclipse-org/yuicompressor |
|
Thank you @padyx, however we have already forked and integrated @awegmueller's fix in a custom build (with other modification related to build process, to prevent conflit with newer version of Rhino). |
jquery-3.4.1 uses final as variable name -> minifying with yui fails. The same happens if a variable called native would be used. Both words are no official keywords anymore and can officially be used as variable names -> support it. Updated version to 2.4.9-BSI-2.
Problem was that jQuery 3.2.1 uses a property named 'throws', which is a
future reserved keyword in YUI compressor. With the patch the check for
the throws keyword has been removed, so the property is treated like any
other regular property.