Преглед изворни кода

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

Tyler Sayles пре 5 година
родитељ
комит
8fd61c9b06
1 измењених фајлова са 2 додато и 2 уклоњено
  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'
 }