Have you tried giving the full path in the :libs option?

On Tuesday, January 24, 2012 12:35:00 PM UTC-5, Jonas wrote:
>
> Hi all
>
> I was wondering if it's possible to use goog.dom.query[1] from 
> ClojureScript or ClojureScript One? It's a third party module but it's 
> bundled with the Closure version which is downloaded by scripts/bootstrap. 
> I've tried (:require [goog.dom.query :as query]) but that doesn't work out 
> of the box for me. Looking at the source code[2] I can see it referenced 
> several times which makes me hopeful that I should get it working. It seems 
> that maybe I should add 
>
>     :libs ["closure/library/third_party/closure"]
>
> or something similar to my build options but still no luck.
>
> [1]: 
> http://closure-library.googlecode.com/svn/docs/closure_third_party_closure_goog_dojo_dom_query.js.html
> [2]: 
> https://github.com/clojure/clojurescript/blob/master/src/clj/cljs/closure.clj#L555
>

-- 
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

Reply via email to