Fork me on GitHub
#cljs-dev
<
2015-07-27
>
dnolen10:07:48

wow beautiful, modern browsers actually present the source mapped stacktrace in the Error object instead of the original one.

dnolen14:07:24

putting the finishing touches on bootstrapped ClojureScript

juhoteperi15:07:09

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.

dnolen15:07:22

@juhoteperi: preferable not touch anything further in at all

dnolen15:07:46

@juhoteperi: just read out of opts and then use binding in the api namespace

dnolen15:07:32

as far as the user is concerned there are no dynamic vars

juhoteperi15:07:27

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?

dnolen15:07:51

@juhoteperi: no macros for this please, just write out the code for now

dnolen15:07:08

not clear what other things will need to be done and how they will need to be mixed.