mirror of
https://github.com/jquery/jquery.git
synced 2025-01-10 18:24:24 +00:00
No ticket: move jQuery.expando to core
This commit is contained in:
parent
972de58990
commit
6d188186d4
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user