mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
Build: Workaround strict mode violations caused by UglifyJS
This commit increases the gzipped size by 90 bytes so a better solution
is needed but, at the same time, it disables the very optimizations
that are causing strict mode violations in Firefox 45, Safari 9 & IE 10.
Refs 76084372c2
Refs mishoo/UglifyJS2#1052
This commit is contained in:
parent
aa0ebad86b
commit
fa610da684
@ -186,6 +186,7 @@ module.exports = function( grunt ) {
|
|||||||
banner: "/*! jQuery v<%= pkg.version %> | " +
|
banner: "/*! jQuery v<%= pkg.version %> | " +
|
||||||
"(c) jQuery Foundation | jquery.org/license */",
|
"(c) jQuery Foundation | jquery.org/license */",
|
||||||
compress: {
|
compress: {
|
||||||
|
"if_return": false,
|
||||||
"hoist_funs": false,
|
"hoist_funs": false,
|
||||||
loops: false,
|
loops: false,
|
||||||
unused: false
|
unused: false
|
||||||
|
Loading…
Reference in New Issue
Block a user