diff options
Diffstat (limited to 'deps/npm/node_modules/lodash/internal/cachePush.js')
-rw-r--r-- | deps/npm/node_modules/lodash/internal/cachePush.js | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/deps/npm/node_modules/lodash/internal/cachePush.js b/deps/npm/node_modules/lodash/internal/cachePush.js deleted file mode 100644 index ba03a1528a..0000000000 --- a/deps/npm/node_modules/lodash/internal/cachePush.js +++ /dev/null @@ -1,20 +0,0 @@ -var isObject = require('../lang/isObject'); - -/** - * Adds `value` to the cache. - * - * @private - * @name push - * @memberOf SetCache - * @param {*} value The value to cache. - */ -function cachePush(value) { - var data = this.data; - if (typeof value == 'string' || isObject(value)) { - data.set.add(value); - } else { - data.hash[value] = true; - } -} - -module.exports = cachePush; |