Re: ClojureScript children seq

2011-09-10 Thread Max Penet
You can use goog.dom/getChildren to get the children (I think it will exclude the non-Nodes such as text and comments ) but it will return an HTMLCollection doesn t implement ISeq, so you need to transform it to a regular js array with goog.array/toArray. something along these lines: (ns

Re: ClojureScript children seq

2011-09-10 Thread Max Penet
On Sep 10, 9:33 pm, Max Penet zcams...@gmail.com wrote: You can use goog.dom/getChildren to get the children (I think it will exclude the non-Nodes such as text and comments) I meant non Element Nodes -- You received this message because you are subscribed to the Google Groups Clojure