aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
diff options
context:
space:
mode:
authorColin Snover <github.com@zetafleet.com>2010-12-26 22:08:41 -0600
committerColin Snover <github.com@zetafleet.com>2010-12-26 22:12:56 -0600
commit01cba2ecaaedb5351f668bb09026db3e8bb69082 (patch)
treea3e377d2abde6fdfa73c5edefe678d6618e9f415 /src/data.js
parent4443371dbaf751ce0d0d92e40f924e41fbd7b54c (diff)
parentfaabb2c31883deabaddd5642eb5e708b5802f2b0 (diff)
downloadjquery-01cba2ecaaedb5351f668bb09026db3e8bb69082.tar.gz
jquery-01cba2ecaaedb5351f668bb09026db3e8bb69082.zip
Merge SlexAxton/jquery:master into jquery/jquery:master.
Diffstat (limited to 'src/data.js')
-rw-r--r--src/data.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/data.js b/src/data.js
index 21b7543ca..4d1d1bd55 100644
--- a/src/data.js
+++ b/src/data.js
@@ -10,7 +10,8 @@ jQuery.extend({
uuid: 0,
// Unique for each copy of jQuery on the page
- expando: "jQuery" + jQuery.now(),
+ // Non-digits removed to match rinlinejQuery
+ expando: "jQuery" + ( jQuery.fn.jquery + Math.random() ).replace( /\D/g, "" ),
// The following elements throw uncatchable exceptions if you
// attempt to add expando properties to them.