diff options
author | Michał Gołębiowski <m.goleb@gmail.com> | 2016-04-23 20:30:00 +0200 |
---|---|---|
committer | Michał Gołębiowski <m.goleb@gmail.com> | 2016-04-23 20:30:00 +0200 |
commit | fa610da68440530e73bba296a1f982f94dfeac99 (patch) | |
tree | 1b3daf82ca6df08f6b3f7d012c43cbc81ceb6510 | |
parent | aa0ebad86b13be721fe00f65fa29f9d4fb216ed7 (diff) | |
download | jquery-fa610da68440530e73bba296a1f982f94dfeac99.tar.gz jquery-fa610da68440530e73bba296a1f982f94dfeac99.zip |
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 76084372c29a59b3fa790ea4d2687f0767514999
Refs mishoo/UglifyJS2#1052
-rw-r--r-- | Gruntfile.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js index c979f2822..04ccb7c3f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -186,6 +186,7 @@ module.exports = function( grunt ) { banner: "/*! jQuery v<%= pkg.version %> | " + "(c) jQuery Foundation | jquery.org/license */", compress: { + "if_return": false, "hoist_funs": false, loops: false, unused: false |