This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-12-05
Channels
- # adventofcode (41)
- # bangalore-clj (4)
- # beginners (283)
- # boot (62)
- # clara (9)
- # cljsrn (3)
- # clojure (112)
- # clojure-brasil (1)
- # clojure-greece (1)
- # clojure-korea (6)
- # clojure-russia (99)
- # clojure-spec (29)
- # clojure-uk (12)
- # clojurescript (34)
- # clojurex (5)
- # core-logic (1)
- # cursive (31)
- # datomic (30)
- # devcards (5)
- # editors (19)
- # emacs (31)
- # events (5)
- # garden (4)
- # hoplon (137)
- # lein-figwheel (3)
- # luminus (4)
- # mount (7)
- # off-topic (7)
- # om (18)
- # om-next (3)
- # onyx (88)
- # proton (1)
- # protorepl (6)
- # re-frame (48)
- # reagent (15)
- # spacemacs (41)
- # testing (1)
- # untangled (2)
- # yada (18)
@puppybits FYI I updated Tenzing to all the lated deps and tested a few of the combinations: https://github.com/martinklepsch/tenzing
hey, i’m trying to debug advanced compilation
i get m is not a function
style errors when it is on
when i set pseudo-names
to true the error goes away
i thought pseudo-names
was supposed to help highlight where the error is, but it just makes things work
how could that happen?
it could be that you're using a javascript library that pollutes the global namespace
e.g. it overwrites js/fb
then you're accessing an attribute m
of that (overwritten) global
using the snippet from calq
it does make a global calq object
advanced compilation generates short names like ab
dt
; I'd look for something like that
i had this problem with ga
but calq
seems a bit long?
also check the backtrace of the crash and see if you can retrace what name it expects
also, when i (.log js/console js/calq)
i get something that looks like what i’d expect
could also be clj->js? there was a bug related to that if I remember correctly
wait a sec...
that has an m
in it without a var
i think that might be a bug in calq’s snippet...
wow, it appears that was the issue
you're welcome!
javascript programmers are surprisingly sloppy with ns pollution\
i suppose it only takes one missed var
to ruin your day
@martinklepsch I am so grateful for your template. I wouldn't be as far along in my project without it and the good documentation in the Readme
BTW general CLJS'ers I'm wondering if anyone is doing anything interesting with Service Workers and Progressive Web Apps?
Service workers are something I wanted to explore for a while but never got to.
@grounded_sage: very happy to heart that 😊
Anyone got hint to how to setup a good dev-environment with SSL enabled? Chrome on Android requires SSL for geolocation to work.