mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 17:00:36 -05:00
Use subject
instead of bus
on workers ns.
This commit is contained in:
parent
1f7b3b37ab
commit
98b1fd6afd
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue