plumatic / dommy

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

allow :class string attr to specify multiple values, separated by spaces #21

Closed aiba closed 11 years ago

aiba commented 11 years ago

This matches the behavior of hiccup to allow multiple classes specified in one string. For example:

[:div {:class "foo bar baz"}]

I am aware that dommy already supports the special :classes keyword, but server-side hiccup does not, so if you want to write some code to be shared between client and server, this helps.

aria42 commented 11 years ago

I believe this has been fixed and a test case has been added for it. Unfortunately we could not use your changes since we had our own divergence.