From 8caee1115bb38f17836094465d7c442c1b6ef0b1 Mon Sep 17 00:00:00 2001 From: Stuart Mitchell Date: Fri, 17 Jul 2015 11:51:34 +1200 Subject: [PATCH] fixes bug introduced by 8af8c6840f3e7df8596bb55d1f2f71f3153932e0 --- src/re_frame/handlers.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/re_frame/handlers.cljs b/src/re_frame/handlers.cljs index 7250e1c..ed45a4a 100644 --- a/src/re_frame/handlers.cljs +++ b/src/re_frame/handlers.cljs @@ -30,7 +30,7 @@ (cond (fn? v) v ;; assumed to be existing middleware - (seq? v) (let [v (remove nil? (flatten v))] + (coll? v) (let [v (remove nil? (flatten v))] (report-middleware-factories v) (apply comp v)) :else (warn "re-frame: comp-middleware expects a vector, got: " v)))