Merge pull request #274 from yatesco/patch-2

minor spelling corrections and formatting
This commit is contained in:
Mike Thompson 2016-12-04 22:28:02 +11:00 committed by GitHub
commit e8e072b900
1 changed files with 3 additions and 3 deletions

View File

@ -63,7 +63,7 @@
;; usage: (dispatch [:set-showing :active]) ;; usage: (dispatch [:set-showing :active])
(reg-event-db ;; this handler changes the todo filter (reg-event-db ;; this handler changes the todo filter
:set-showing ;; event-id :set-showing ;; event-id
[check-spec-interceptor (path :showing) trim-v] ;; this colelction of interceptors wrap wrap the handler [check-spec-interceptor (path :showing) trim-v] ;; this collection of interceptors wrap the handler
;; Because of the path interceptor above, the 1st parameter to ;; Because of the path interceptor above, the 1st parameter to
;; the handler below won't be the entire 'db', and instead will ;; the handler below won't be the entire 'db', and instead will
@ -74,7 +74,7 @@
new-filter-kw)) ;; return new state for the path new-filter-kw)) ;; return new state for the path
;; usage: (dispatch [:add-todo "Finsih comments"]) ;; usage: (dispatch [:add-todo "Finish comments"])
(reg-event-db ;; given the text, create a new todo (reg-event-db ;; given the text, create a new todo
:add-todo :add-todo
todo-interceptors todo-interceptors