There are a couple of ways to make use of macros in cljs.js. 

One would be to put the macros in a namespace and use cljs.js to require that 
namespace as a macros namespace. This would involve using cljs.js/*load-fn* to 
provide the source in the macro namespace. Then you can subsequently use 
cljs.js to compile and evaluate code that makes use of those macros.

Another approach, if you are just looking to expand a macro is detailed in this 
post:
http://blog.fikesfarm.com/posts/2015-09-05-runtime-macroexpand.html

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