mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 18:17:48 +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.
|
* @returns {Object} Returns the cache instance.
|
||||||
*/
|
*/
|
||||||
function setCacheAdd(value) {
|
function setCacheAdd(value) {
|
||||||
this.__data_set(value, HASH_UNDEFINED);
|
this.__data__.set(value, HASH_UNDEFINED);
|
||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
* @returns {number} Returns `true` if `value` is found, else `false`.
|
* @returns {number} Returns `true` if `value` is found, else `false`.
|
||||||
*/
|
*/
|
||||||
function setCacheHas(value) {
|
function setCacheHas(value) {
|
||||||
return this.__data_has(value);
|
return this.__data__.has(value);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default setCacheHas;
|
export default setCacheHas;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
* @returns {*} Returns the entry value.
|
* @returns {*} Returns the entry value.
|
||||||
*/
|
*/
|
||||||
function stackGet(key) {
|
function stackGet(key) {
|
||||||
return this.__data_get(key);
|
return this.__data__.get(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default stackGet;
|
export default stackGet;
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
* @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
|
||||||
*/
|
*/
|
||||||
function stackHas(key) {
|
function stackHas(key) {
|
||||||
return this.__data_has(key);
|
return this.__data__.has(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
export default stackHas;
|
export default stackHas;
|
||||||
|
|||||||
Reference in New Issue
Block a user