This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-25
Channels
- # beginners (27)
- # boot (49)
- # cider (51)
- # cljs-dev (29)
- # cljsjs (1)
- # cljsrn (19)
- # clojure (59)
- # clojure-austin (2)
- # clojure-belgium (19)
- # clojure-china (1)
- # clojure-dev (14)
- # clojure-dusseldorf (7)
- # clojure-russia (8)
- # clojure-spec (115)
- # clojure-uk (45)
- # clojurescript (118)
- # css (6)
- # cursive (8)
- # datascript (20)
- # datomic (32)
- # emacs (5)
- # events (2)
- # flambo (21)
- # hoplon (58)
- # incanter (8)
- # jobs-rus (1)
- # jobs_rus (1)
- # off-topic (3)
- # om (22)
- # om-next (9)
- # onyx (5)
- # other-languages (79)
- # re-frame (126)
- # reagent (6)
- # ring (7)
- # specter (1)
- # untangled (119)
- # yada (38)
👏 validated-form demo is awesome!
i missed it, where's that at?
sounds dope
I dont think it’s new but i really like the validation pattern, i think it will be easier than the jquery plugins
God d* IE
I get a "null" just after <body> and before the inner body elements
can't explain it!!!
Anyone has ideas?
I'm taking everything!!!
wrap in let and print?
a null appears also just after <head>
@flyboarder: sorry?
(let [] (prn (my-broken-thing)) (my-broken-thing))
ok, trying
let only returns the last form so you can easily hide debug stuff in it
#<Element: HEAD>
(let []
(prn (views/get-head ...))
(views/get-head ...))
ok so you are successfully returning an HTML element, is that what is giving you null?
what is before and after the null in hl code?
usually when i see things like that in my code, im dropping something in an element body which is not also an element
<head> null <meta charset=...
can you provide a gist of your get-head
?
it’s inside this i was looking for the let
sure!
meta doesnt exists should be html-meta
name conflict with cljs.core
When I deploy on my server, (https) i get the null AND the css doesn't load. I also get CSS was ignored due to mime type mismatch
. With IE...
that could be part of it
... (:refer-clojure :exclude [meta])
(def meta html-meta)
nvm 😄
hmm this a strange one, just to be sure, what version of hl are you on?
alpha15
is it giving you that on 14?
tried alpha13 too
i dont see anything which should be null-ing
yeah, me neither
maybe it is in clj
handler
does it do that with an empty head and body?
i would test a different index page without your code and see what HTML is outputted
like maybe just (html (head) (body “I am clearly not an app."))
Good idea! With empty (head)
I get <head>null</head>
weird
it’s gotta be somewhere on the handler i’d say
but im no backend expert
hope I helped 😛
Thanks @flyboarder . Hopefully I will find it on server-side
ill be around for a while if you need additional digging, happy hunting!
Thanks!