Commit 6d188186 authored by Richard Gibson's avatar Richard Gibson

No ticket: move jQuery.expando to core

parent 972de589
...@@ -338,6 +338,9 @@ jQuery.extend = jQuery.fn.extend = function() { ...@@ -338,6 +338,9 @@ jQuery.extend = jQuery.fn.extend = function() {
}; };
jQuery.extend({ jQuery.extend({
// Unique for each copy of jQuery on the page
expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ),
noConflict: function( deep ) { noConflict: function( deep ) {
if ( window.$ === jQuery ) { if ( window.$ === jQuery ) {
window.$ = _$; window.$ = _$;
......
...@@ -201,10 +201,6 @@ data_priv = new Data(); ...@@ -201,10 +201,6 @@ data_priv = new Data();
jQuery.extend({ 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 // This is no longer relevant to jQuery core, but must remain
// supported for the sake of jQuery 1.9.x API surface compatibility. // supported for the sake of jQuery 1.9.x API surface compatibility.
acceptData: function() { acceptData: function() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment