No ticket: move jQuery.expando to core

This commit is contained in:
Richard Gibson 2013-02-25 15:48:22 -05:00
parent 972de58990
commit 6d188186d4
2 changed files with 3 additions and 4 deletions

View File

@ -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.$ = _$;

View File

@ -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() {