From 86b98dcdba5eaae4614f7b2ed5304aaa11bd7368 Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Mon, 2 May 2016 09:37:16 +0200 Subject: [PATCH] Make ratom-flush placeholder function a simple fn --- src/reagent/impl/batching.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reagent/impl/batching.cljs b/src/reagent/impl/batching.cljs index 9f83ea6..70872e2 100644 --- a/src/reagent/impl/batching.cljs +++ b/src/reagent/impl/batching.cljs @@ -40,7 +40,7 @@ ;; Set from ratom.cljs -(defonce ratom-flush identity) +(defonce ratom-flush (fn [])) (deftype RenderQueue [^:mutable ^boolean scheduled?] Object