aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-04-18 17:16:59 +0400
committerDave Methvin <dave.methvin@gmail.com>2013-04-18 12:38:00 -0400
commitaae7abfeb6e9810d67947825c3d1302bb36be6b7 (patch)
tree2aead8c63bcaeca01aa50f50debe1dadb423c705
parent5179fa00b839ebc70ec38fb0cf6cb8f8c412f37e (diff)
downloadjquery-aae7abfeb6e9810d67947825c3d1302bb36be6b7.tar.gz
jquery-aae7abfeb6e9810d67947825c3d1302bb36be6b7.zip
Change uglify compression options, close gh-1245.
-rw-r--r--Gruntfile.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 1b13c277d..98cde83e0 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -116,6 +116,12 @@ module.exports = function( grunt ) {
beautify: {
ascii_only: true
},
+ compress: {
+ hoist_funs: false,
+ join_vars: false,
+ loops: false,
+ unused: false
+ },
mangle: {
// saves some bytes when gzipped
except: [ "undefined" ]