From 98d01a7c842995b5954732a7294cf43721d0f843 Mon Sep 17 00:00:00 2001 From: Mike Thompson Date: Tue, 16 Aug 2016 12:24:23 +1000 Subject: [PATCH] change name from `do-effects` to `do-fx`. More consistent. --- src/re_frame/fx.cljc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/re_frame/fx.cljc b/src/re_frame/fx.cljc index c86133f..4f49f3c 100644 --- a/src/re_frame/fx.cljc +++ b/src/re_frame/fx.cljc @@ -17,7 +17,7 @@ ;; -- Interceptor ------------------------------------------------------------- -(def do-effects +(def do-fx "An interceptor which actions a `context's` (side) `:effects`. For each key in the `:effects` map, call the `effects handler` previously @@ -30,7 +30,7 @@ call the registered effects handlers for each of the map's keys: `:dispatch`, `:undo` and `:db`." (->interceptor - :name :do-effects + :name :do-fx :after (fn do-effects-after [context] (->> (:effects context)