Fork me on GitHub
#re-frame
<
2016-04-24
>
mikethompson02:04:19

@lwhorton: incorporate the code in issue #4 in that repo. It still works.

mikethompson03:04:42

If you want to see a working version of cljs.test try to use a template like: https://github.com/Day8/re-frame-template Be sure to use +test

lwhorton13:04:00

thanks mike. using your example I was able to get cljs.test and speclj working with just a few tweaks.

pesterhazy18:04:40

@martinklepsch: is it really true that enable-console-print! needs to be run in every namespace? I don't see anything that suggests that in the source: https://github.com/clojure/clojurescript/blob/c3899acf797eb6779c53b313f5606c5018360b83/src/main/cljs/cljs/core.cljs#L144

pesterhazy18:04:25

I've actually had problems with enable-console-print! where I didn't see output after reloads (with boot-reload) in the past, but could never trace them

nberger18:04:20

Yeah, I don't think it has to be on every namespace, but it has to be called on each reload AFAIK

pesterhazy18:04:48

that's what I thought

mattsfrey20:04:28

I apologize in advance for a newb question, but I've been attempting to jam part of the re-com tabs demo into the main re-frame template and it seems to result in an infinite loop of sorts as soon as the js starts running. Wondering if anyone can tell at a glance what might cause that behavior?

mattsfrey20:04:44

(relevant code is at the bottom)

mattsfrey20:04:53

Apparently only supplying one component in the children vector for h-box results in an infinite loop at rendering, wrapping that in a ["Blah" ...] fixed the problem