remove use of do

This commit is contained in:
Daniel Barlow 2022-02-06 14:33:56 +00:00
parent 9306d55c5d
commit 92265c3d4b

View File

@ -12,8 +12,8 @@
(fn event-bus []
(let [subscriptions {}
vivify (fn [n v]
(or (. n v)
(do (tset n v {}) (. n v))))]
(or (. n v) (tset n v {}))
(. n v))]
{
:subscriptions subscriptions
:subscribe (fn [self event-name handler]