|
|
@ -768,7 +768,6 @@ function Sizzle( selector, context, results, seed ) {
|
|
|
|
if ( (elem = context.getElementById( m )) ) {
|
|
|
|
if ( (elem = context.getElementById( m )) ) {
|
|
|
|
|
|
|
|
|
|
|
|
// Support: IE, Opera, Webkit
|
|
|
|
// Support: IE, Opera, Webkit
|
|
|
|
// TODO: identify versions
|
|
|
|
|
|
|
|
// getElementById can match elements by name instead of ID
|
|
|
|
// getElementById can match elements by name instead of ID
|
|
|
|
if ( elem.id === m ) {
|
|
|
|
if ( elem.id === m ) {
|
|
|
|
results.push( elem );
|
|
|
|
results.push( elem );
|
|
|
@ -782,7 +781,6 @@ function Sizzle( selector, context, results, seed ) {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
|
|
|
|
|
|
|
|
// Support: IE, Opera, Webkit
|
|
|
|
// Support: IE, Opera, Webkit
|
|
|
|
// TODO: identify versions
|
|
|
|
|
|
|
|
// getElementById can match elements by name instead of ID
|
|
|
|
// getElementById can match elements by name instead of ID
|
|
|
|
if ( newContext && (elem = newContext.getElementById( m )) &&
|
|
|
|
if ( newContext && (elem = newContext.getElementById( m )) &&
|
|
|
|
contains( context, elem ) &&
|
|
|
|
contains( context, elem ) &&
|
|
|
@ -3855,7 +3853,6 @@ var dataUser = new Data();
|
|
|
|
// 2. Improve the module's maintainability by reducing the storage
|
|
|
|
// 2. Improve the module's maintainability by reducing the storage
|
|
|
|
// paths to a single mechanism.
|
|
|
|
// paths to a single mechanism.
|
|
|
|
// 3. Use the same single mechanism to support "private" and "user" data.
|
|
|
|
// 3. Use the same single mechanism to support "private" and "user" data.
|
|
|
|
// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
|
|
|
|
|
|
|
|
// 5. Avoid exposing implementation details on user objects (eg. expando properties)
|
|
|
|
// 5. Avoid exposing implementation details on user objects (eg. expando properties)
|
|
|
|
// 6. Provide a clear path for implementation upgrade to WeakMap in 2014
|
|
|
|
// 6. Provide a clear path for implementation upgrade to WeakMap in 2014
|
|
|
|
|
|
|
|
|
|
|
@ -3905,7 +3902,6 @@ jQuery.extend( {
|
|
|
|
dataUser.remove( elem, name );
|
|
|
|
dataUser.remove( elem, name );
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
// TODO: Now that all calls to _data and _removeData have been replaced
|
|
|
|
|
|
|
|
// with direct calls to dataPriv methods, these can be deprecated.
|
|
|
|
// with direct calls to dataPriv methods, these can be deprecated.
|
|
|
|
_data: function( elem, name, data ) {
|
|
|
|
_data: function( elem, name, data ) {
|
|
|
|
return dataPriv.access( elem, name, data );
|
|
|
|
return dataPriv.access( elem, name, data );
|
|
|
|