소스 검색

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