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:
Michał Gołębiowski 2016-04-23 20:30:00 +02:00
parent aa0ebad86b
commit fa610da684

View File

@ -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