> 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 <[email protected]> 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 <[email protected]> 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 [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en