Skip to content

Commit

Permalink
docs: fix typo in comments (vuejs#1550)
Browse files Browse the repository at this point in the history
  • Loading branch information
sairoutine authored and vaga committed Apr 20, 2020
1 parent 5266bd8 commit d5c7c7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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],
Expand Down

0 comments on commit d5c7c7c

Please sign in to comment.