Sfoglia il codice sorgente

mutates -> mutate; add period to mirror other constructions (#1655)

Tyler Sayles 5 anni fa
parent
commit
8fd61c9b06
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      examples/counter/store.js

+ 2 - 2
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'
 }