summaryrefslogtreecommitdiffstats
path: root/js/vendor/jquery/src/data/Data.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/vendor/jquery/src/data/Data.js')
-rw-r--r--js/vendor/jquery/src/data/Data.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/vendor/jquery/src/data/Data.js b/js/vendor/jquery/src/data/Data.js
index d34606bf2..85afd64f5 100644
--- a/js/vendor/jquery/src/data/Data.js
+++ b/js/vendor/jquery/src/data/Data.js
@@ -5,7 +5,7 @@ define([
], function( jQuery, rnotwhite ) {
function Data() {
- // Support: Android < 4,
+ // Support: Android<4,
// Old WebKit does not have Object.preventExtensions/freeze method,
// return new empty object instead with no [[set]] accessor
Object.defineProperty( this.cache = {}, 0, {
@@ -14,7 +14,7 @@ function Data() {
}
});
- this.expando = jQuery.expando + Math.random();
+ this.expando = jQuery.expando + Data.uid++;
}
Data.uid = 1;
@@ -42,7 +42,7 @@ Data.prototype = {
descriptor[ this.expando ] = { value: unlock };
Object.defineProperties( owner, descriptor );
- // Support: Android < 4
+ // Support: Android<4
// Fallback to a less secure definition
} catch ( e ) {
descriptor[ this.expando ] = unlock;