plumatic / dommy

A tiny ClojureScript DOM manipulation and event library
760 stars 73 forks source link

Bug fix: vararg remove-class! should return element #95

Closed wjlroe closed 2 years ago

wjlroe commented 9 years ago

The behaviour of remove-class! was inconsistent depending on the number of arguments passed - if removing just one class it'd return the element allowing chaining, if removing multiple classes, because it uses doseq, it returns nil - breaking chaining.