Quellcode durchsuchen

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

Tyler Sayles vor 5 Jahren
Ursprung
Commit
8fd61c9b06
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2 2
      examples/counter/store.js

+ 2 - 2
examples/counter/store.js

@@ -9,7 +9,7 @@ const state = {
   count: 0
   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
 // each mutation handler gets the entire state tree as the
 // first argument, followed by additional payload arguments.
 // first argument, followed by additional payload arguments.
 // mutations must be synchronous and can be recorded by plugins
 // mutations must be synchronous and can be recorded by plugins
@@ -43,7 +43,7 @@ const actions = {
   }
   }
 }
 }
 
 
-// getters are functions
+// getters are functions.
 const getters = {
 const getters = {
   evenOrOdd: state => state.count % 2 === 0 ? 'even' : 'odd'
   evenOrOdd: state => state.count % 2 === 0 ? 'even' : 'odd'
 }
 }