Add note about deprecation of _removeData and _data

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
This commit is contained in:
Rick Waldron 2013-04-08 15:39:20 -04:00
parent d7d6b7a5c7
commit 570ec3dec7

View File

@ -211,13 +211,8 @@ jQuery.extend({
data_user.remove( elem, name );
},
// TODO: Replace all calls to _data and _removeData with direct
// calls to
//
// data_priv.access( elem, name, data );
//
// data_priv.remove( elem, name );
//
// TODO: Now that all calls to _data and _removeData have been replaced
// with direct calls to data_priv methods, these can be deprecated.
_data: function( elem, name, data ) {
return data_priv.access( elem, name, data );
},