On Sat, Oct 6, 2012 at 11:14 PM, Andrew <ache...@gmail.com> wrote: > What about the --output_wrapper part? > > My clojurescript js never calls the minified foreign library directly: > What I have is [1] some plain non-optimized javascript that calls [2] > CodeMirror for the code and position, then calls [3] my clojurescript js to > find out how to do the requested paredit thing, and then calls [2] > CodeMirror again to do it. > > So [3] never calls [2] > > [2] and [3] export stuff so that [1] can call them. > > And my problem is that [2] isn't wrapped in an anonymous function. How do > I get cljsbuild to tell Closure to use --output_wrapper? (Also, I guess > there's a good reason why it doesn't always wrap its output?) >
Seems like a simple useful option we should expose. http://dev.clojure.org/jira/browse/CLJS-388 David -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en