Merge SlexAxton/jquery:master into jquery/jquery:master.
authorColin Snover <github.com@zetafleet.com>
Mon, 27 Dec 2010 04:08:41 +0000 (22:08 -0600)
committerColin Snover <github.com@zetafleet.com>
Mon, 27 Dec 2010 04:12:56 +0000 (22:12 -0600)
src/data.js

index 21b7543..4d1d1bd 100644 (file)
@@ -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.