I'm trying to export a JavaScript API from my ClojureScript library using a UMD 
pattern, given the following export function:
https://github.com/shaunlebron/parinfer/blob/7131d10ee21a6674279577b76743f623d4b2c3c9/parinfer-lib/src/parinfer/api_js.cljs#L64-L70

After compiling in advanced mode, and running Node, `require("./parinfer.js")` 
just returns {}.  Adding the `:target :nodejs` option doesn't help.

I'm thinking it has something to do with google closure renaming my `module` 
symbol despite having the externs to prevent it.  Anyway to prevent this?

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