plumatic / dommy

A tiny ClojureScript DOM manipulation and event library
759 stars 74 forks source link

Give selectors enlive-like syntax #29

Closed cpetzold closed 10 years ago

cpetzold commented 11 years ago

Right now, to select multiple classes, you have to do the following:

(sel ".c1, .c2")

This is fine as a fallback, but selectors should be composable like they are in enlive:

(sel #{:.c1 :.c2})

For more detail, see http://enlive.cgrand.net/syntax.html