ckirkendall / kioo

Enlive/Enfocus style templating for Facebook's React and Om in ClojureScript.
Eclipse Public License 1.0
404 stars 39 forks source link

kioo.core/has-class broken with latest clojurescript #29

Closed bendlas closed 9 years ago

bendlas commented 9 years ago

ClojureScript recently introduced a type-error when re-find is called with a non-string: https://github.com/clojure/clojurescript/commit/774d4588581f6d29a1b6b2555171d3f3d36c2c83

This breaks has-class and add-class, for elements, that don't have any class, because then has-class calls re-matches with nil.

ckirkendall commented 9 years ago

this should be fixed in 0.4.1-SNAPSHOT