aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.js
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2010-12-28 02:02:31 +0100
committerjaubourg <j@ubourg.net>2010-12-28 02:02:31 +0100
commit97b32d78307273f8bd2e5147bf5c0f0a45607a95 (patch)
treec1cddb6a87257aaa14a0ac3d04d66460aec9f177 /src/data.js
parent85f0dda56289ed6c044dadb3a42b1a4d2ddb0891 (diff)
parent5fd21fc02bda43d4e31bcf2d5b55b918a9190a7f (diff)
downloadjquery-97b32d78307273f8bd2e5147bf5c0f0a45607a95.tar.gz
jquery-97b32d78307273f8bd2e5147bf5c0f0a45607a95.zip
Merge branch 'master' of github.com:jquery/jquery into deferred
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.