From d5c7c7cd4b7a5dc4ef688fdedf28d2cbe1a9592f Mon Sep 17 00:00:00 2001 From: Sai Date: Sat, 9 Nov 2019 16:45:34 +0900 Subject: [PATCH] docs: fix typo in comments (#1550) --- src/store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store.js b/src/store.js index b32d7b0ad3..032480751a 100644 --- a/src/store.js +++ b/src/store.js @@ -257,7 +257,7 @@ function resetStoreVM (store, state, hot) { forEachValue(wrappedGetters, (fn, key) => { // use computed to leverage its lazy-caching mechanism // direct inline function use will lead to closure preserving oldVm. - // using partial to return function with only arguments preserved in closure enviroment. + // using partial to return function with only arguments preserved in closure environment. computed[key] = partial(fn, store) Object.defineProperty(store.getters, key, { get: () => store._vm[key],