git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2866f16
)
Changed the expando string to use a random number instead of the time, so collisions...
author
Alex Sexton
<AlexSexton@gmail.com>
Mon, 11 Oct 2010 16:54:00 +0000
(11:54 -0500)
committer
Colin Snover
<github.com@zetafleet.com>
Mon, 27 Dec 2010 04:07:46 +0000
(22:07 -0600)
src/data.js
patch
|
blob
|
history
diff --git
a/src/data.js
b/src/data.js
index
732e923
..
bb7febf
100644
(file)
--- a/
src/data.js
+++ b/
src/data.js
@@
-9,8
+9,9
@@
jQuery.extend({
// Please use with caution
uuid: 0,
- // Unique for each copy of jQuery on the page
- expando: "jQuery" + jQuery.now(),
+ // Unique for each copy of jQuery on the page
+ // 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.