mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Add note about deprecation of _removeData and _data
Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
This commit is contained in:
parent
d7d6b7a5c7
commit
570ec3dec7
@ -211,13 +211,8 @@ jQuery.extend({
|
|||||||
data_user.remove( elem, name );
|
data_user.remove( elem, name );
|
||||||
},
|
},
|
||||||
|
|
||||||
// TODO: Replace all calls to _data and _removeData with direct
|
// TODO: Now that all calls to _data and _removeData have been replaced
|
||||||
// calls to
|
// with direct calls to data_priv methods, these can be deprecated.
|
||||||
//
|
|
||||||
// data_priv.access( elem, name, data );
|
|
||||||
//
|
|
||||||
// data_priv.remove( elem, name );
|
|
||||||
//
|
|
||||||
_data: function( elem, name, data ) {
|
_data: function( elem, name, data ) {
|
||||||
return data_priv.access( elem, name, data );
|
return data_priv.access( elem, name, data );
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user