plumatic / dommy

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

Add number type hint to dommy.utils/class-index #89

Closed aamedina closed 9 years ago

aamedina commented 9 years ago

While building a project that uses Dommy with the latest ClojureScript release (0.0-2411) I noticed some warnings stemming from uses of this function in arithmetic contexts. To prevent these warnings a type hint of number was added to the dommy.utils/class-index.

loganlinn commented 9 years ago

Looks good. Thanks!