The following is more an observation than a problem.

While investigating Clojurescript my first port of call after reading
the initial documentation was to read through the sample code
provided. Naturally one of the first questions a beginner is going to
ask when looking at Clojurescript is, how do I manipulate the dom?

The Twitterbuzz sample includes a dom helper library written
specifically for the project (https://github.com/clojure/clojurescript/
blob/master/samples/twitterbuzz/src/twitterbuzz/dom-helpers.cljs), so
my initial understanding was that there was no cljs library for dom
manip. As Rich has done in the sample, I began my project thinking I
would need to roll my own wrappers for the goog/dom. Eventually
however I discovered clojure.browser.dom (https://github.com/clojure/
clojurescript/blob/master/src/cljs/clojure/browser/dom.cljs). Would it
be sensible to update the Twitterbuzz sample to use the native cljs
library instead?

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