X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fdata.js;h=4d1d1bd55615ba2944c9cfa9b44dbdd93c307f2d;hb=a8fa5f2ec1030bceb9a65d0237f0c92ae4e014dd;hp=21b7543caa9fceab8b449befb52524de11e899ed;hpb=a2bf7ab3c002e921aa1d4c9be9d0f337dfd4143d;p=jquery.git diff --git a/src/data.js b/src/data.js index 21b7543..4d1d1bd 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.