aboutsummaryrefslogtreecommitdiffstats
path: root/Gruntfile.js
diff options
context:
space:
mode:
authorOleg <markelog@gmail.com>2013-01-29 04:04:58 +0400
committerDave Methvin <dave.methvin@gmail.com>2013-01-31 10:22:12 -0500
commitd79bf3517eda9b74883c68c255e82067449d3274 (patch)
tree21462d915bb9f74739274d34b3fca8788425c1eb /Gruntfile.js
parente392e5579b9f8f1e20c0befe0577e5141fc45468 (diff)
downloadjquery-d79bf3517eda9b74883c68c255e82067449d3274.tar.gz
jquery-d79bf3517eda9b74883c68c255e82067449d3274.zip
Fix #13355. Tweak Uglify options and var order for gzip. Close gh-1151.
Change uglify-js options for compressor Change variables initialization sequence for some declarations
Diffstat (limited to 'Gruntfile.js')
-rw-r--r--Gruntfile.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/Gruntfile.js b/Gruntfile.js
index 5d72c24ad..4058871d5 100644
--- a/Gruntfile.js
+++ b/Gruntfile.js
@@ -101,6 +101,12 @@ module.exports = function( grunt ) {
options: {
banner: "/*! jQuery v<%= pkg.version %> | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license */",
sourceMap: "dist/jquery.min.map",
+ compress: {
+ hoist_funs: false,
+ join_vars: false,
+ loops: false,
+ unused: false
+ },
beautify: {
ascii_only: true
}