projects
/
yaffs-website
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Added Entity and Entity Reference Revisions which got dropped somewhere along the...
[yaffs-website]
/
node_modules
/
grunt-legacy-util
/
node_modules
/
lodash
/
_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;