...
This commit is contained in:
4
docs/_static/jquery-3.6.0.js
vendored
4
docs/_static/jquery-3.6.0.js
vendored
@@ -4395,7 +4395,7 @@ var dataUser = new Data();
|
||||
// 2. Improve the module's maintainability by reducing the storage
|
||||
// paths to a single mechanism.
|
||||
// 3. Use the same single mechanism to support "private" and "user" data.
|
||||
// 4. _Never_ expose "private" data to user code (TODO: Drop _data, _removeData)
|
||||
// 4. _Never_ expose "private" data to user code (TODO: Drop _internal_data_dict, _removeData)
|
||||
// 5. Avoid exposing implementation details on user objects (eg. expando properties)
|
||||
// 6. Provide a clear path for implementation upgrade to WeakMap in 2014
|
||||
|
||||
@@ -4463,7 +4463,7 @@ jQuery.extend( {
|
||||
dataUser.remove( elem, name );
|
||||
},
|
||||
|
||||
// TODO: Now that all calls to _data and _removeData have been replaced
|
||||
// TODO: Now that all calls to _internal_data_dict and _removeData have been replaced
|
||||
// with direct calls to dataPriv methods, these can be deprecated.
|
||||
_data: function( elem, name, data ) {
|
||||
return dataPriv.access( elem, name, data );
|
||||
|
||||
Reference in New Issue
Block a user