Bump to v4.12.0.

This commit is contained in:
John-David Dalton
2016-05-07 11:55:10 -07:00
parent 35805ec250
commit 07c844053e
124 changed files with 587 additions and 480 deletions

View File

@@ -1,5 +1,3 @@
import assocDelete from './_assocDelete';
/**
* Removes `key` and its value from the stack.
*
@@ -10,10 +8,7 @@ import assocDelete from './_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);
}
export default stackDelete;