From 540b81f81e81ac55087a9e02ef7e4337342386e0 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 b32d7b0ad..032480751 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],