Bump to v4.12.0.

This commit is contained in:
John-David Dalton
2016-05-07 12:00:39 -07:00
parent ddde027fd9
commit dbe6a9008c
127 changed files with 1258 additions and 1116 deletions

View File

@@ -1,5 +1,3 @@
var assocDelete = require('./_assocDelete');
/**
* Removes `key` and its value from the stack.
*
@@ -10,10 +8,7 @@ var assocDelete = require('./_assocDelete');
* @returns {boolean} Returns `true` if the entry was removed, else `false`.
*/
function stackDelete(key) {
var data = this.__data__,
array = data.array;
return array ? assocDelete(array, key) : data.map['delete'](key);
return this.__data__['delete'](key);
}
module.exports = stackDelete;