No ticket: move jQuery.expando to core

This commit is contained in:
Richard Gibson 2013-02-25 15:48:22 -05:00
parent 328ba956c0
commit dabdea70ee
2 changed files with 4 additions and 4 deletions

View File

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

View File

@ -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: {