Ah. I probably don't need a text editor. I can create a CodeMirror instance by 
calling the constructor. But how do I do that from ClojureScript?

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/ ?

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to