This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-07-03
Channels
- # announcements (7)
- # beginners (114)
- # boot (5)
- # calva (25)
- # cider (26)
- # clojure (82)
- # clojure-dev (20)
- # clojure-europe (2)
- # clojure-italy (8)
- # clojure-losangeles (4)
- # clojure-norway (6)
- # clojure-uk (16)
- # clojurescript (21)
- # clojurex (3)
- # core-async (24)
- # cursive (25)
- # datomic (17)
- # emacs (5)
- # events (4)
- # fulcro (9)
- # funcool (1)
- # graalvm (4)
- # hyperfiddle (2)
- # midje (2)
- # mount (2)
- # off-topic (10)
- # pathom (11)
- # pedestal (5)
- # re-frame (36)
- # reagent (15)
- # reitit (3)
- # ring (4)
- # slack-help (2)
- # spacemacs (3)
- # sql (16)
- # tools-deps (5)
what's the right require/import syntax to be able to call a static method from a Closure class? I'm trying to call goog.date.DateTime/fromIsoString
and whatever I'm trying isn't working 🙂
aliasing those can be tricky but (js/goog.date.DateTime.fromIsoString ...)
should always work when coupled with (:import [goog.date DateTime])
hmm I though I tried the require + DateTime/fromIsoString
option, I'll try again or use the js/
route. Thanks!
seems the problem is that function doesn't exist... guess it's a different version of GCL
https://github.com/mfikes/cljs-bean/blob/master/src/cljs_bean/core.cljs#L719 mike does it here