Skip to content

Commit fa610da

Browse files
committed
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 7608437 Refs mishoo/UglifyJS#1052
1 parent aa0ebad commit fa610da

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Gruntfile.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ module.exports = function( grunt ) {
186186
banner: "/*! jQuery v<%= pkg.version %> | " +
187187
"(c) jQuery Foundation | jquery.org/license */",
188188
compress: {
189+
"if_return": false,
189190
"hoist_funs": false,
190191
loops: false,
191192
unused: false

0 commit comments

Comments
 (0)