Skip to content

Commit 540b81f

Browse files
sairoutinektsn
authored andcommitted
docs: fix typo in comments (#1550)
1 parent e0e0b7b commit 540b81f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/store.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ function resetStoreVM (store, state, hot) {
257257
forEachValue(wrappedGetters, (fn, key) => {
258258
// use computed to leverage its lazy-caching mechanism
259259
// direct inline function use will lead to closure preserving oldVm.
260-
// using partial to return function with only arguments preserved in closure enviroment.
260+
// using partial to return function with only arguments preserved in closure environment.
261261
computed[key] = partial(fn, store)
262262
Object.defineProperty(store.getters, key, {
263263
get: () => store._vm[key],

0 commit comments

Comments
 (0)