> I'm also trying to do similar, but having some trouble with def.  def starts 
> working if you define (js/eval "cljs.user = {}"), however defmacro does not.  
> Any idea of how to get defmacro working?

Hi Mattew,

If your question is about generally using cljs.js (rather than Session), then 
the answer is that you will need to cause macros to be loaded via *load-fn*, 
either via something akin to a require-macros REPL special or by loading a file 
that itself requires macros from another namespace. In that case, when macros 
are being loaded, a :macros flag will be truthy:

https://github.com/clojure/clojurescript/blob/r1.7.48/src/main/cljs/cljs/js.cljs#L56

-- 
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 http://groups.google.com/group/clojurescript.

Reply via email to