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 /src/data.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 'src/data.js')
-rw-r--r-- | src/data.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/data.js b/src/data.js index 95aa0dc30..e471df4ea 100644 --- a/src/data.js +++ b/src/data.js @@ -1,7 +1,7 @@ var rbrace = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/, rmultiDash = /([A-Z])/g; -function internalData( elem, name, data, pvt ) { +function internalData( elem, name, data, pvt /* Internal Use Only */ ){ if ( !jQuery.acceptData( elem ) ) { return; } @@ -100,8 +100,7 @@ function internalRemoveData( elem, name, pvt ) { return; } - var thisCache, i, l, - + var i, l, thisCache, isNode = elem.nodeType, // See jQuery.data for more information @@ -216,7 +215,7 @@ jQuery.extend({ _data: function( elem, name, data ) { return internalData( elem, name, data, true ); }, - + _removeData: function( elem, name ) { return internalRemoveData( elem, name, true ); }, |