devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
2015-11-03T02:07:50.000406Z

does devcards mkdn-pprint-source macro work with om next’s defui macro?

2015-11-03T02:09:43.000407Z

coudl i just call the defui* function?

martinklepsch 2015-11-03T14:49:04.000409Z

https://github.com/Jannis/om-next-kanban-demo/blob/master/build.boot#L37 @jannis: Hey, I have a question about your boot/devcards setup: is the line above required? How does devcards use this? Seems strange to pass things in compiler-options that’s not actually a compiler option?

jannis 2015-11-03T14:51:39.000411Z

@martinklepsch: I followed the "Devcards without Figwheel" instructions on http://rigsomelight.com/devcards/#!/devdemos.core - but I might be confusing what it means by "compiler options"

jannis 2015-11-03T14:52:29.000412Z

To be honest, I didn't even try without adding the option.

martinklepsch 2015-11-03T14:54:09.000413Z

Seems it’s required: https://github.com/bhauman/devcards/blob/master/src/devcards/util/utils.clj

martinklepsch 2015-11-03T14:59:17.000415Z

Looks like a good fit for :closure-defines

bhauman 2015-11-03T16:16:36.000416Z

@martinklepsch: yeah it does, this was written before closure-defines. I want this value available on the clojure side so I have access to it in a macro. Does closure-defines work this way??

martinklepsch 2015-11-03T16:17:41.000417Z

Closure-defines are just regular vars/symbols so I think that should work.

bhauman 2015-11-03T18:05:44.000418Z

yeah but they are defined in ClojureScript space not Clojure space right?