Fork me on GitHub
#hoplon
<
2017-08-16
>
thedavidmeister06:08:14

anyone seen this before?

thedavidmeister06:08:16

TypeError: null is not an object (evaluating 'this$.hoplonKids = null')

thedavidmeister06:08:37

i started seeing it in my phantomjs tests when i swapped out my .hl file for a .cljs file

thedavidmeister06:08:48

with the (ns ^{:hoplon/page "index.html"} pages.index syntax

fiddlerwoaroof06:08:31

Hmm, back again

fiddlerwoaroof06:08:39

So, I guess this means that it's a bug in javelin?

ejemba13:08:26

Have you seen this ?

thedavidmeister15:08:37

@alandipert i'm running into the same warnings, stopping me from upgrading cljs

thedavidmeister15:08:45

could we simply change

thedavidmeister15:08:47

(defmacro ^:private safe-deref [expr] (deref (or ~expr (atom))))`

thedavidmeister15:08:00

(defmacro ^:private safe-deref [expr] (deref (or ~expr (atom nil))))

alandipert15:08:06

i believe so, yes

flyboarder18:08:51

@thedavidmeister @alandipert also using _ is no longer valid in new versions, we should remove that anywhere we see it, which was a lot in hoplon

alandipert18:08:17

you mean using _ in names?

flyboarder18:08:57

@alandipert no as variables like [elem _ value] in multimethods

alandipert18:08:58

flyboarder how weird, what are we supposed to do instead? also if you have a link to a commit or something i'm curious to learn more context

dm318:08:03

@flyboarder are you sure? I thought it only became a keyword in Java

flyboarder19:08:31

@alandipert I switched to using an actual variable even if I dont use it, I still run across this so next time it throws I’ll post a stack trace

flyboarder19:08:35

on a side note, it might have been related to the spec work I was doing??