diff --git a/docs/Effects.md b/docs/Effects.md index db0ec26..85e14db 100644 --- a/docs/Effects.md +++ b/docs/Effects.md @@ -23,11 +23,11 @@ make side effects a noop in event replays. * [Effects With No Data](#effects-with-no-data) * [Testing And Noops](#testing-and-noops) * [Builtin Effect Handlers](#builtin-effect-handlers) - + [:dispatch-later](#-dispatch-later) - + [:dispatch](#-dispatch) - + [:dispatch-n](#-dispatch-n) - + [:deregister-event-handler](#-deregister-event-handler) - + [:db](#-db) + + [:dispatch-later](#dispatch-later) + + [:dispatch](#dispatch) + + [:dispatch-n](#dispatch-n) + + [:deregister-event-handler](#deregister-event-handler) + + [:db](#db) ### Where Effects Come From diff --git a/examples/todomvc/src/todomvc/subs.cljs b/examples/todomvc/src/todomvc/subs.cljs index c8bf8d9..54c472f 100644 --- a/examples/todomvc/src/todomvc/subs.cljs +++ b/examples/todomvc/src/todomvc/subs.cljs @@ -112,7 +112,7 @@ ;; Is this a good idea? ;; If it is a good idea, is this good syntax? ;; Because it is so common to nominate 1 or more input signals, -;; register-pure-sub provides some macro sugar so you can nominate a very minimal +;; reg-sub provides some macro sugar so you can nominate a very minimal ;; vector of input signals. The 1st function is not needed. ;; Here is the example above rewritten using the sugar. #_(reg-sub