Javascript: CodeMirror(yourFnThatAddsTheInstanceToThePage);
ClojureScript: (js/CodeMirror. fn-that-resets-my-atom)
I get a "ReferenceError, can't find variable: CodeMirror."
If I try (CodeMirror/Codemirror. my-fn) it says it cannot find CodeMirror.cljs or cljc or namespace...
Is there some place where I get it to know about a CodeMirror namespace like it knows about js/ ?
:externs ["resources/cm/lib/codemirror.js"]
... somewhere. But where? The boot task I want to affect is auto-test ...
(deftask auto-test []
(comp (testing)
(watch)
(test-cljs :js-env :phantom)))