From 6d188186d428668b91ddc60be4fb3c230dfec363 Mon Sep 17 00:00:00 2001 From: Richard Gibson Date: Mon, 25 Feb 2013 15:48:22 -0500 Subject: [PATCH] No ticket: move jQuery.expando to core --- src/core.js | 3 +++ src/data.js | 4 ---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/core.js b/src/core.js index 5fb6828ff..cae3a90e3 100644 --- a/src/core.js +++ b/src/core.js @@ -338,6 +338,9 @@ jQuery.extend = jQuery.fn.extend = function() { }; jQuery.extend({ + // Unique for each copy of jQuery on the page + expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), + noConflict: function( deep ) { if ( window.$ === jQuery ) { window.$ = _$; diff --git a/src/data.js b/src/data.js index f0699d2a7..3685b7006 100644 --- a/src/data.js +++ b/src/data.js @@ -201,10 +201,6 @@ data_priv = new Data(); jQuery.extend({ - // Unique for each copy of jQuery on the page - // Non-digits removed to match rinlinejQuery - expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ), - // This is no longer relevant to jQuery core, but must remain // supported for the sake of jQuery 1.9.x API surface compatibility. acceptData: function() { -- 2.39.5