From: Timo Tijhof Date: Tue, 24 Sep 2013 14:23:58 +0000 (+0200) Subject: No ticket: Clean up uglifyjs compress options. Close gh-1382. X-Git-Tag: 1.11.0-beta2~54 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e15627022f0c5e13a972baffb41f6f52ca4d3ec3;p=jquery.git No ticket: Clean up uglifyjs compress options. Close gh-1382. --- diff --git a/Gruntfile.js b/Gruntfile.js index e0a1ab42b..d8577d77c 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -111,10 +111,17 @@ module.exports = function( grunt ) { ascii_only: true }, compress: { - hoist_funs: false, - join_vars: false, + properties: true, + dead_code: true, + unsafe: false, + booleans: true, loops: false, - unused: false + unused: false, + hoist_funs: false, + hoist_vars: false, + if_return: true, + join_vars: true, + warnings: true } } }