Merge pull request #379 from pesterhazy/patch-3

Fix typo in my-reg-event-fx function
This commit is contained in:
Mike Thompson 2017-07-20 08:11:55 +10:00 committed by GitHub
commit 9b49b46dd8
1 changed files with 10 additions and 10 deletions

View File

@ -174,7 +174,7 @@ you write a custom registration function -- a replacement for `reg-event-db` --
```clj
(defn my-reg-event-db ;; alternative to reg-event-db
([id handler-fn]
(my-reg-event-db id standard-interceptors handler-fn))
(re-frame.core/reg-event-db id standard-interceptors handler-fn))
([id interceptors handler-fn]
(re-frame.core/reg-event-db
id
@ -212,7 +212,7 @@ and then:
```clj
(defn my-reg-event-fx ;; alternative to reg-event-db
([id handler-fn]
(my-reg-event-db id standard-interceptors-fx handler-fn))
(re-frame.core/reg-event-fx id standard-interceptors-fx handler-fn))
([id interceptors handler-fn]
(re-frame.core/reg-event-fx
id