Merge pull request #235 from micmarsh/patch-1

Fix typo in first effect map
This commit is contained in:
Shaun Mahood 2016-10-03 15:29:55 -06:00 committed by GitHub
commit 3ef6304857

View File

@ -57,7 +57,7 @@ Here's an `-fx` handler which counts up to some number in chunks:
;; We are at the beginning, so:
;; - modify db, causing popup of Modal saying "Working ..."
;; - begin iterative dispatch. Give initial version of "so-far"
{:disptch 1[:count-to false {:counter 0} finish-at] ;; dispatch to self
{:dispatch [:count-to false {:counter 0} finish-at] ;; dispatch to self
:db (assoc db :we-are-working true)}
(if (> (:counter so-far) finish-at)
;; We are finished: