diff options
author | Oleg <markelog@gmail.com> | 2013-01-29 04:04:58 +0400 |
---|---|---|
committer | Dave Methvin <dave.methvin@gmail.com> | 2013-01-31 10:22:12 -0500 |
commit | d79bf3517eda9b74883c68c255e82067449d3274 (patch) | |
tree | 21462d915bb9f74739274d34b3fca8788425c1eb /Gruntfile.js | |
parent | e392e5579b9f8f1e20c0befe0577e5141fc45468 (diff) | |
download | jquery-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.js | 6 |
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 } |