Re: [ClojureScript] google closure modules and the :main compiler option
Great! I will work on that. @Thomas: Thanks, I will have a look at shadow-build -- 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 clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
Re: [ClojureScript] google closure modules and the :main compiler option
Would you also consider a patch to make the :main option to accept a collection of namespaces? When optimizations are enabled, the closure compiler may concatenate multiple namespaces, thus I think this change would make sense. Also, don't you think the browser repl environment should be given the possibility to output a main js file at startup? This file could contain a call to clojure.browser.repl/connect, making the browser repl simpler to start. -- 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 clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] google closure modules and the :main compiler option
Hi, The :main option of the ClojureScript compiler is very useful to be able to leave HTML markup identical between dev and production. However, its purpose is defeated when using google closure modules because it can only output one file and require one namespace. A possible solution would be to allow :optimzations :none when :modules are enabled. The compiler would emit multiple main files, each requiring the namespaces it depends on. Any thoughts on this? Ewen. -- 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 clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.
[ClojureScript] Clojurescript special fns
Hi, What is the reason for special fns to always print nil instead of printing their result (https://github.com/clojure/clojurescript/blob/master/src/main/clojure/cljs/repl.cljc#L824)? I'm asking because I'm building tooling around clojurescript and I would like to be able to catch special fns result. Thanks, Ewen. -- 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 clojurescript+unsubscr...@googlegroups.com. To post to this group, send email to clojurescript@googlegroups.com. Visit this group at http://groups.google.com/group/clojurescript.