From 8fd61c9b06123321b497fbfdf067117db3aa90f9 Mon Sep 17 00:00:00 2001 From: Tyler Sayles Date: Wed, 25 Dec 2019 03:28:06 -0500 Subject: [PATCH] mutates -> mutate; add period to mirror other constructions (#1655) --- examples/counter/store.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/counter/store.js b/examples/counter/store.js index 426a7d76d..36a63eb54 100644 --- a/examples/counter/store.js +++ b/examples/counter/store.js @@ -9,7 +9,7 @@ const state = { count: 0 } -// mutations are operations that actually mutates the state. +// mutations are operations that actually mutate the state. // each mutation handler gets the entire state tree as the // first argument, followed by additional payload arguments. // mutations must be synchronous and can be recorded by plugins @@ -43,7 +43,7 @@ const actions = { } } -// getters are functions +// getters are functions. const getters = { evenOrOdd: state => state.count % 2 === 0 ? 'even' : 'odd' }