Fork me on GitHub
#mount
<
2016-01-11
>
fappy20:01:02

hmmm... "ANALYSIS ERROR: Referred var mount.core/defstate does not exist on file null, line null, column null" What would cause this to happen?

fappy20:01:23

Those nulls are interesting...

fappy21:01:58

Ahh... I'm in ClojureScript so (:require-macros [mount.core :refer [defstate]])

tolitius21:01:35

@fappy: yea, that would do it simple_smile

fappy22:01:55

@tolitius: Hmm... ANALYSIS ERROR: Unable to resolve var: cleanup-if-dirty in this context at line 26 where line 26 in my file says (defstate config :start (load))

fappy22:01:50

@tolitius: cleanup-if-dirty is a private defn- ... Making it public and and :refer-ing it allows the cljs macro for defstate to work for me