summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/lodash/_mapCacheClear.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/lodash/_mapCacheClear.js')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/lodash/_mapCacheClear.js21
1 files changed, 21 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/lodash/_mapCacheClear.js b/bin/wiki/ImportarDesdeURL/node_modules/lodash/_mapCacheClear.js
new file mode 100644
index 00000000..bc9ca204
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/lodash/_mapCacheClear.js
@@ -0,0 +1,21 @@
+var Hash = require('./_Hash'),
+ ListCache = require('./_ListCache'),
+ Map = require('./_Map');
+
+/**
+ * Removes all key-value entries from the map.
+ *
+ * @private
+ * @name clear
+ * @memberOf MapCache
+ */
+function mapCacheClear() {
+ this.size = 0;
+ this.__data__ = {
+ 'hash': new Hash,
+ 'map': new (Map || ListCache),
+ 'string': new Hash
+ };
+}
+
+module.exports = mapCacheClear;