diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2013-04-08 15:35:16 -0400 |
---|---|---|
committer | Rick Waldron <waldron.rick@gmail.com> | 2013-04-08 15:35:16 -0400 |
commit | e8731410a4714a3383dfc5342f835e0177b58ff7 (patch) | |
tree | 311279ca18c848dffaa72953a3864eb29fef288a /src/data.js | |
parent | 1a3939659b2c2506fb50ca3ee21e84c642cb5f64 (diff) | |
download | jquery-e8731410a4714a3383dfc5342f835e0177b58ff7.tar.gz jquery-e8731410a4714a3383dfc5342f835e0177b58ff7.zip |
No ticket. Use data_priv methods instead of jQuery._removeData and jQuery._data; Remove needless, internal second argument of jQuery.cleanData. Closes gh-1234
Diffstat (limited to 'src/data.js')
-rw-r--r-- | src/data.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/data.js b/src/data.js index f5d3d178a..45d6ed052 100644 --- a/src/data.js +++ b/src/data.js @@ -183,15 +183,6 @@ Data.prototype = { } }; -// This will be used by remove()/cleanData() in manipulation to sever -// remaining references to node objects. One day we'll replace the dual -// arrays with a WeakMap and this won't be an issue. -// (Splices the data objects out of the internal cache arrays) -function data_discard( owner ) { - data_user.discard( owner ); - data_priv.discard( owner ); -} - // These may be used throughout the jQuery core codebase data_user = new Data(); data_priv = new Data(); |