This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-01-13
Channels
- # announcements (2)
- # architecture (10)
- # aws (1)
- # babashka (1)
- # beginners (208)
- # calva (15)
- # clojure (164)
- # clojure-australia (9)
- # clojure-europe (37)
- # clojure-nl (19)
- # clojure-sanfrancisco (2)
- # clojure-spec (10)
- # clojure-taiwan (2)
- # clojure-uk (48)
- # clojurescript (59)
- # conjure (2)
- # core-async (3)
- # data-science (3)
- # datomic (5)
- # events (66)
- # figwheel-main (2)
- # fulcro (35)
- # graphql (3)
- # jobs-rus (3)
- # kaocha (1)
- # meander (5)
- # off-topic (85)
- # pedestal (2)
- # re-frame (5)
- # reitit (11)
- # reveal (5)
- # shadow-cljs (16)
- # slack-help (15)
- # test200 (4)
- # tools-deps (12)
- # xtdb (9)
Hi, I am porting an old app created at the end of 2015. It was my first app in clojurescript, and since then in production. So from lighttable, leiningen, closure library I would like to migrate to calva, shadow-cljs, newer closure library. So far I am able to compile the code, and clj-kondo revealed some very fishy spots. But application works in simple mode. So now I would like to eliminate compilation warnings I am including google maps in my html page (<script src="https://maps.googleapis.com/maps/api/js?key=AIza.....&libraries=drawing"></script>
34 | (when bslayer
35 | (google.maps.event/addListener
----------^---------------------------------------------------------------------
No such namespace: google.maps.event, could not locate google/maps/event.cljs, google/maps/event.cljc, or JavaScript source providing "google.maps.event"
my build:
{:frontend
{:target :browser
:compiler-options {:externs ["google_maps_api_v3_19.js"]}
; google_maps_api_v3_19.js is in the same dir as shadow-cljs.edn
In Cursive, I'm happily using a Remote Repl with Shadow. I normally run npx shadow-cljs watch app
from the terminal, however. Any good hints on how to integrate this part of the workflow better into Intellij?
Hi guys!
I'm connected to a CLJS Repl (running on the browser), with Shadow 2.11.13
and CLJS 1.10.773
and I keep getting this error when trying to eval my dev
namesapce:
Execution error (ReferenceError) at (<cljs repl>:1).
dev is not defined
This also happens when I run part of it, like this:
(defn sumation [a b]
(+ a b))
This appear to be a problem specially when I run a def
or defn