Skip to content

Commit d5c7c7c

Browse files
sairoutinevaga
authored andcommitted
docs: fix typo in comments (vuejs#1550)
1 parent 5266bd8 commit d5c7c7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/store.js

Lines changed: 1 addition & 1 deletion
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)