This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2015-07-27
Channels
- # beginners (3)
- # boot (8)
- # cljs-dev (10)
- # clojure (87)
- # clojure-art (6)
- # clojure-dev (13)
- # clojure-japan (8)
- # clojure-russia (60)
- # clojure-sg (2)
- # clojurescript (126)
- # clojurewerkz (1)
- # core-logic (10)
- # cursive (6)
- # datomic (30)
- # editors (10)
- # ldnclj (7)
- # off-topic (114)
- # onyx (7)
- # re-frame (7)
- # reagent (37)
wow beautiful, modern browsers actually present the source mapped stacktrace in the Error
object instead of the original one.
I'm looking into setting warning-handlers using opts
. Where should that be done? :warnings
opts are handled in closure/build
so that would be once place, it would work for my use case but wouldn't allow setting warnings handlers if calling analyze
directly.
@juhoteperi: preferable not touch anything further in at all
@juhoteperi: just read out of opts
and then use binding
in the api namespace
@juhoteperi: look at this for inspiration https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/js.cljs#L728-L735
So :warning-handlers
would only be used in api namespaces. It would probably be cleanest implemented by a macro used by any api functions which take opts argument?
@juhoteperi: no macros for this please, just write out the code for now