packages
packages copied to clipboard
classnames doesn't declare classNames
The classnames packages should be declaring classNames, but it isn't:
cljs.user=> (require 'cljsjs.classnames)
nil
cljs.user=> js/window
#object[Window [object Window]]
cljs.user=> js/classNames
#object[ReferenceError ReferenceError: classNames is not defined]
nil
cljs.user=> (.-classNames js/window)
nil
cljs.user=>
Did you try this normally, without cljs repl?
I think the answer is yes, as in, I tried that in the REPL because I was getting an error in an app,; but I don't remember the actual context where this happened.
Might be related to https://github.com/cljsjs/packages/issues/1418