From db4bbc9b47dd252d464d43b0fcc725c6b5bc1918 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 9 Jan 2017 17:47:31 -0800 Subject: [PATCH] Fix `__data__` typos. --- _setCacheAdd.js | 2 +- _setCacheHas.js | 2 +- _stackGet.js | 2 +- _stackHas.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/_setCacheAdd.js b/_setCacheAdd.js index e3fe0bbf9..23065e878 100644 --- a/_setCacheAdd.js +++ b/_setCacheAdd.js @@ -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; } diff --git a/_setCacheHas.js b/_setCacheHas.js index d394d6152..67f4c8ae2 100644 --- a/_setCacheHas.js +++ b/_setCacheHas.js @@ -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; diff --git a/_stackGet.js b/_stackGet.js index 327f198a2..139b9acc1 100644 --- a/_stackGet.js +++ b/_stackGet.js @@ -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; diff --git a/_stackHas.js b/_stackHas.js index 78ff361f1..bc25f5a7e 100644 --- a/_stackHas.js +++ b/_stackHas.js @@ -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;