Re: Including additional js in clojurescript compilation

2011-08-02 Thread Alen Ribic
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

Re: Including additional js in clojurescript compilation

2011-08-02 Thread Mark Rathwell
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,

Including additional js in clojurescript compilation

2011-07-30 Thread David Powell
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 my clojurescript, I can

Re: Including additional js in clojurescript compilation

2011-07-30 Thread Brenton
Any Google Closure compliant JavaScript can be pulled into the build process by using the :libs option. For example: (build src {: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