This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-06-02
Channels
- # bangalore-clj (1)
- # beginners (5)
- # cider (24)
- # clara (2)
- # cljs-dev (6)
- # cljsrn (2)
- # clojure (10)
- # clojure-austin (2)
- # clojure-serbia (1)
- # clojure-spec (6)
- # clojure-uk (6)
- # clojurescript (59)
- # cursive (1)
- # datomic (10)
- # emacs (3)
- # events (7)
- # graphql (1)
- # jobs (2)
- # lein-figwheel (9)
- # off-topic (40)
- # pedestal (5)
- # portkey (2)
- # re-frame (5)
- # reagent (20)
- # shadow-cljs (7)
- # spacemacs (4)
- # specter (19)
- # testing (21)
is there a way to dismiss warnings on browser after compilation compilation?
my issue is that I'm getting warnings from a depency library I have no direct control, and the warnings keep coming during hot reloads
one of the libraries I'm trying to use got this:
SEVERE: node_modules/tether/dist/js/tether.js:384: ERROR - Duplicate let / const / class / function declaration in the same scope is not allowed.
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError('Cannot call a class as a function'); } }
^^^^^^^^^^^^^^^
I see this function was defined before on the same file, is there a way to control this behaviour and just allow it to redefine the function?
I'm trying to read some js files from a cljs, but I can't figure how to make shadow find it, I have this structure:
- src
- file.cljs
- file-js.js
in file.cljs
I'm trying (:require ["./file-js"])
but I get The required JS dependency "./file-js" is not available, ...