[cljs example app]: adding a stop states timeout back

This commit is contained in:
anatoly 2015-12-29 16:30:11 -05:00
parent 8cedfaa60a
commit 64a91625aa
2 changed files with 1 additions and 4 deletions

View file

@ -19,7 +19,7 @@
(mount/start)
;; time to establish a websocket connection before disconnecting
;; (js/setTimeout #(mount/stop-except "#'app.audit-log/log") 500)
(js/setTimeout #(mount/stop-except "#'app.audit-log/log") 500)
;; time to close a connection to show it in audit
(js/setTimeout #(show-log) 1000)

View file

@ -129,9 +129,6 @@
(up name state (atom #{})))
@inst)))
;; #?(:clj
;; (println (str "[mount]: here is what I see running: " @@#'mount.core/running
;; " is " state " running? [" @@#'mount.core/running state)))
#?(:clj
(defmacro defstate [state & body]
(let [[state params] (macro/name-with-attributes state body)