Skip to content
Permalink
Browse files

No ticket: move jQuery.expando to core

  • Loading branch information...
gibson042 committed Feb 25, 2013
1 parent 972de58 commit 6d188186d428668b91ddc60be4fb3c230dfec363
Showing with 3 additions and 4 deletions.
  1. +3 −0 src/core.js
  2. +0 −4 src/data.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.$ = _$;
@@ -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() {

0 comments on commit 6d18818

Please sign in to comment.
You can’t perform that action at this time.