diff options
author | stonelee <istonelee@gmail.com> | 2013-03-01 12:33:37 +0800 |
---|---|---|
committer | Richard Gibson <richard.gibson@gmail.com> | 2013-03-14 09:53:19 -0400 |
commit | 92b23673e60569b74ac48304579866c839008e1a (patch) | |
tree | 0bb5c434b02b777b77cfbc782dd7ed0bcab61563 /src/data.js | |
parent | e0416f25485c67ccf35b6c309bbc69128770a27e (diff) | |
download | jquery-92b23673e60569b74ac48304579866c839008e1a.tar.gz jquery-92b23673e60569b74ac48304579866c839008e1a.zip |
No ticket: Move property descriptor assignment to save a byte. Close gh-1188.
Diffstat (limited to 'src/data.js')
-rw-r--r-- | src/data.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/data.js b/src/data.js index dfd8555a0..585d78b20 100644 --- a/src/data.js +++ b/src/data.js @@ -29,10 +29,10 @@ Data.prototype = { // If not, create one if ( !unlock ) { unlock = Data.uid++; - descriptor[ this.expando ] = { value: unlock }; // Secure it in a non-enumerable, non-writable property try { + descriptor[ this.expando ] = { value: unlock }; Object.defineProperties( owner, descriptor ); // Support: Android<4 |