Some basic information and tips (start at page 5 or so on [1]): [1] http://dojo-toolkit.33424.n3.nabble.com/file/n2636749/Using_the_Dojo_Toolkit_with_the_Closure_Compiler.pdf?by-user=t [2] http://code.google.com/closure/compiler/docs/api-tutorial3.html#dangers
On Tue, Aug 2, 2011 at 7:59 AM, Alen Ribic <alen.ri...@gmail.com> wrote: > > Any Google Closure compliant JavaScript can be pulled into the build > > process by using the :libs option. > > Is there any information/resource on what makes the Javascript library > Google Closure compliant? > > I have a third-party library that I have included via {:libs []} > option, however it doesn't get included with any of the :optimizations > options. > > Regards, > -Alen > > On Jul 30, 8:11 pm, Brenton <bashw...@gmail.com> wrote: > > Any Google Closure compliant JavaScript can be pulled into the build > > process by using the :libs option. > > > > For example: > > > > (buildsrc{:libs ["/foo/bar"]}) > > > > would include any JavaScript files under /foo/bar in the build > > process. > > > > On Jul 30, 7:02 am, David Powell <djpow...@djpowell.net> wrote: > > > > > > > > > > > > > > > > > The closure-template tools let you take a template, and pre-process it > to > > > something like: > > > > > hello3.soy.js: > > > > > goog.provide('example.templates'); > > > goog.require('soy'); > > > goog.require('soy.StringBuilder'); > > > [...] > > > example.templates.welcome = function(opt_data, opt_sb) { > > > [...] > > > > > In myclojurescript, I can put: > > > > > (:require [example.templates :as temp]) > > > > > ...but when I compile theclojurescriptwith optimizations, I get an > error > > > from the closure compiler because it doesn't know where to find the > > > example.templates. > > > > > Is there any way of specifying additional javascript files or paths for > > >clojurescriptto pass to the closure compiler? > > > > > -- > > > Dave > > -- > 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 > -- 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