Skip to content

Commit

Permalink
docs: fix typo in comments (#1550)
Browse files Browse the repository at this point in the history
  • Loading branch information
sairoutine authored and ktsn committed Nov 9, 2019
1 parent e0e0b7b commit 540b81f
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 540b81f

Please sign in to comment.