Removed modules/contrib/media module to allow update to the core media module
[yaffs-website] / node_modules / uncss / node_modules / lodash / internal / mapClear.js
1 var Hash = require('./Hash'),
2     Map = require('./Map');
3
4 /**
5  * Removes all key-value entries from the map.
6  *
7  * @private
8  * @name clear
9  * @memberOf MapCache
10  */
11 function mapClear() {
12   this.__data__ = { 'hash': new Hash, 'map': Map ? new Map : [], 'string': new Hash };
13 }
14
15 module.exports = mapClear;