Changed the expando string to use a random number instead of the time, so collisions...
authorAlex Sexton <AlexSexton@gmail.com>
Mon, 11 Oct 2010 16:54:00 +0000 (11:54 -0500)
committerColin Snover <github.com@zetafleet.com>
Mon, 27 Dec 2010 04:07:46 +0000 (22:07 -0600)
src/data.js

index 732e923..bb7febf 100644 (file)
@@ -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.