Fix __data__ typos.

This commit is contained in:
John-David Dalton
2017-01-09 17:47:31 -08:00
parent 77cc37ba49
commit db4bbc9b47
4 changed files with 4 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ const HASH_UNDEFINED = '__lodash_hash_undefined__';
* @returns {Object} Returns the cache instance.
*/
function setCacheAdd(value) {
this.__data_set(value, HASH_UNDEFINED);
this.__data__.set(value, HASH_UNDEFINED);
return this;
}

View File

@@ -8,7 +8,7 @@
* @returns {number} Returns `true` if `value` is found, else `false`.
*/
function setCacheHas(value) {
return this.__data_has(value);
return this.__data__.has(value);
}
export default setCacheHas;

View File

@@ -8,7 +8,7 @@
* @returns {*} Returns the entry value.
*/
function stackGet(key) {
return this.__data_get(key);
return this.__data__.get(key);
}
export default stackGet;

View File

@@ -8,7 +8,7 @@
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
*/
function stackHas(key) {
return this.__data_has(key);
return this.__data__.has(key);
}
export default stackHas;