It's worth noting that you'll get this exception under any circumstance where 
*main-cli-fn* isn't defined.

That includes your filename being .clj instead of .cljs; you'll still end up 
with a compiled .js file at the end, but without *main-cli-fn* set. It might be 
nice if in the future cljsc threw a warning if it found .clj files with 
*main-cli-fn* defined, but in the near term I figured I'd document my own error 
and experience for posterity :)

 - D

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