From 98b1fd6afd86235284720feb1492cbdfde3a4a7f Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Mon, 19 Dec 2016 08:35:48 +0100 Subject: [PATCH] Use `subject` instead of `bus` on workers ns. --- frontend/src/uxbox/util/workers.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/uxbox/util/workers.cljs b/frontend/src/uxbox/util/workers.cljs index f59eb8d6e9..823d0711e7 100644 --- a/frontend/src/uxbox/util/workers.cljs +++ b/frontend/src/uxbox/util/workers.cljs @@ -41,7 +41,7 @@ "Return a initialized webworker instance." [path] (let [wrk (js/Worker. path) - bus (rx/bus)] + bus (rx/subject)] (.addEventListener wrk "message" (fn [event] (let [data (.-data event)