In my project.clj I've defined the dependency
[cljsjs/moment "2.10.6-0"]
and I'm requiring it in my cljs file using
(:require [cljsjs.moment :as m])
I try and use it like this
(m/from-now 3485736776)
But it says Uncaught ReferenceError: cljsjs is not defined
I also tried
(m/fromNow 3485736776)
Just in case the function call was wrong, but I get the same error ... any ideas?