Hi, Following code cause an error, because NodeList doesn't extend ISeqable.
(doseq [u (goog.dom/getElementsByClass "myclass")] ...) Uncaught Error: No protocol method ISeqable.-seq defined for type object: [object NodeList] So I implemented ISeqable for NodeList. (extend-type js/NodeList ISeqable (-seq [array] (array-seq array 0))) I used an implementation of ISeqable for array as reference. https://github.com/clojure/clojurescript/blob/master/src/cljs/cljs/core.cljs#L338 This works well on Chrome, Safari and Firefox, and doesn't on Opera. Is special consideration needed for Opera? Thanks. -- 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