mirror of
https://github.com/jquery/jquery.git
synced 2024-10-05 11:34:18 +00:00
No ticket: move jQuery.expando to core
This commit is contained in:
parent
328ba956c0
commit
dabdea70ee
@ -361,6 +361,10 @@ jQuery.extend = jQuery.fn.extend = function() {
|
||||
};
|
||||
|
||||
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, "" ),
|
||||
|
||||
noConflict: function( deep ) {
|
||||
if ( window.$ === jQuery ) {
|
||||
window.$ = _$;
|
||||
|
@ -181,10 +181,6 @@ function internalRemoveData( elem, name, pvt ) {
|
||||
jQuery.extend({
|
||||
cache: {},
|
||||
|
||||
// Unique for each copy of jQuery on the page
|
||||
// Non-digits removed to match rinlinejQuery
|
||||
expando: "jQuery" + ( core_version + Math.random() ).replace( /\D/g, "" ),
|
||||
|
||||
// The following elements throw uncatchable exceptions if you
|
||||
// attempt to add expando properties to them.
|
||||
noData: {
|
||||
|
Loading…
Reference in New Issue
Block a user