You can look at how Pinot does it, some links to get you started: https://github.com/ibdknox/pinot https://github.com/ibdknox/pinot/blob/master/project.clj https://github.com/ibdknox/pinot/blob/master/src/pinot/dom.cljs https://groups.google.com/forum/#!msg/clj-noir/x5x9vcI-T4E/FaCfb8jhDXoJ
On Tue, Jan 24, 2012 at 12:35 PM, Jonas <jonas.enl...@gmail.com> 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 -- 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