From 570ec3dec7ceaef1f24693499867dfaf7c083c5c Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Mon, 8 Apr 2013 15:39:20 -0400 Subject: [PATCH] Add note about deprecation of _removeData and _data Signed-off-by: Rick Waldron --- src/data.js | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/data.js b/src/data.js index ee4c7b3b..acb3fa26 100644 --- a/src/data.js +++ b/src/data.js @@ -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 ); }, -- 2.11.4.GIT