diff options
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(); |