mirror of
https://github.com/jquery/jquery.git
synced 2026-02-01 21:45:03 -05:00
Don't expose jQuery.deletedIds. Close gh-889.
This commit is contained in:
committed by
Dave Methvin
parent
2b0e720406
commit
8076a33bd8
@@ -32,7 +32,7 @@ function internalData( elem, name, data, pvt /* Internal Use Only */ ){
|
||||
// Only DOM nodes need a new unique ID for each element since their data
|
||||
// ends up in the global cache
|
||||
if ( isNode ) {
|
||||
elem[ internalKey ] = id = jQuery.deletedIds.pop() || jQuery.guid++;
|
||||
elem[ internalKey ] = id = core_deletedIds.pop() || jQuery.guid++;
|
||||
} else {
|
||||
id = internalKey;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user