Remove debug

This commit is contained in:
Daniel Compton 2017-11-10 15:17:28 +13:00
parent de167f208c
commit 6e6744c146
1 changed files with 0 additions and 2 deletions

View File

@ -14,11 +14,9 @@
(not (str/includes? component-path "devtools outer")))))
(defn disable-tracing! []
(println "Disabling tracing")
(re-frame.trace/remove-trace-cb ::cb))
(defn enable-tracing! []
(println "Enabling tracing")
(re-frame.trace/register-trace-cb ::cb (fn [new-traces]
(when-let [new-traces (filter log-trace? new-traces)]
(swap! total-traces + (count new-traces))