This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-08-16
Channels
- # aleph (1)
- # architecture (5)
- # beginners (43)
- # boot (23)
- # cider (5)
- # cljs-dev (143)
- # clojure (42)
- # clojure-austin (4)
- # clojure-dusseldorf (14)
- # clojure-italy (15)
- # clojure-norway (1)
- # clojure-russia (10)
- # clojure-spec (41)
- # clojure-uk (70)
- # clojurescript (262)
- # cursive (3)
- # data-science (18)
- # datomic (66)
- # figwheel (1)
- # fulcro (39)
- # hoplon (21)
- # jobs-rus (1)
- # juxt (4)
- # lein-figwheel (2)
- # leiningen (4)
- # lumo (26)
- # off-topic (4)
- # om (6)
- # onyx (19)
- # parinfer (50)
- # pedestal (9)
- # portkey (10)
- # re-frame (41)
- # schema (5)
- # spacemacs (2)
- # yada (35)
anyone seen this before?
TypeError: null is not an object (evaluating 'this$.hoplonKids = null')
i started seeing it in my phantomjs tests when i swapped out my .hl
file for a .cljs
file
with the (ns ^{:hoplon/page "index.html"} pages.index
syntax
Hmm, back again
So, I guess this means that it's a bug in javelin?
@alandipert i'm running into the same warnings, stopping me from upgrading cljs
could we simply change
(defmacro ^:private safe-deref [expr]
(deref (or ~expr (atom))))`
(defmacro ^:private safe-deref [expr]
(deref (or ~expr (atom nil))))
i believe so, yes
@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
you mean using _ in names?
@alandipert no as variables like [elem _ value]
in multimethods
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
@flyboarder are you sure? I thought it only became a keyword in Java
@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
on a side note, it might have been related to the spec work I was doing??