mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Fix __data__ typos.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user