Fork me on GitHub
#clojurescript
<
2016-12-05
>
martinklepsch08:12:52

@puppybits FYI I updated Tenzing to all the lated deps and tested a few of the combinations: https://github.com/martinklepsch/tenzing

thedavidmeister12:12:02

hey, i’m trying to debug advanced compilation

thedavidmeister12:12:16

i get m is not a function style errors when it is on

thedavidmeister12:12:32

when i set pseudo-names to true the error goes away

thedavidmeister12:12:07

i thought pseudo-names was supposed to help highlight where the error is, but it just makes things work

thedavidmeister12:12:12

how could that happen?

pesterhazy12:12:28

it could be that you're using a javascript library that pollutes the global namespace

pesterhazy12:12:48

e.g. it overwrites js/fb

pesterhazy12:12:15

then you're accessing an attribute m of that (overwritten) global

thedavidmeister12:12:11

using the snippet from calq

thedavidmeister12:12:18

it does make a global calq object

pesterhazy12:12:32

advanced compilation generates short names like ab dt; I'd look for something like that

thedavidmeister12:12:46

i had this problem with ga

thedavidmeister12:12:52

but calq seems a bit long?

pesterhazy12:12:06

also check the backtrace of the crash and see if you can retrace what name it expects

thedavidmeister12:12:25

also, when i (.log js/console js/calq) i get something that looks like what i’d expect

pesterhazy12:12:31

could also be clj->js? there was a bug related to that if I remember correctly

thedavidmeister13:12:45

that has an m in it without a var

thedavidmeister13:12:58

i think that might be a bug in calq’s snippet...

thedavidmeister13:12:37

wow, it appears that was the issue

pesterhazy13:12:09

you're welcome!

pesterhazy13:12:30

javascript programmers are surprisingly sloppy with ns pollution\

thedavidmeister13:12:58

i suppose it only takes one missed var to ruin your day

grounded_sage17:12:27

@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

grounded_sage17:12:28

BTW general CLJS'ers I'm wondering if anyone is doing anything interesting with Service Workers and Progressive Web Apps?

martinklepsch17:12:23

Service workers are something I wanted to explore for a while but never got to.

martinklepsch17:12:38

@grounded_sage: very happy to heart that 😊

martinskou19:12:09

Anyone got hint to how to setup a good dev-environment with SSL enabled? Chrome on Android requires SSL for geolocation to work.

mikeb23:12:15

Quick question, does core.async work when running on nodejs?

mikeb23:12:59

Cool thanks!