Kevin Lynagh

Results 36 comments of Kevin Lynagh

How does this relate to #49? Did the upstream tooling resolve the JavaScript deps issue?

Ah, I just saw your pull request for Singult. I'll push up a new SNAPSHOT for that library and test out your C2 updates. Thanks for the pull request!

Good catch; I'll make a note to fix that and otherwise update the website. Right now there is a standalone [todo list app demo](https://github.com/lynaghk/c2-demos/tree/master/todoMVC) for ClojureScript, but not much else....

It depends where you're rendering. In ClojureScript C2 uses the Singult library to build live DOM nodes, and it has some extra sugar that will turn style maps into the...

`c2.dom/style` is for setting live nodes on the page. If you're working with Hiccup fragments, you should construct the styles directly: ``` clojure [:div.my-thing {:some-attr "123" :style {:background-color "red" :left...

It's possible that your browser is throwing out the width and height attributes because they're being provided as integers rather than as CSS widths (e.g., `"34px`). The C2 style setter...

Yeah, that's my feeling too, but having numbers be coerced to pixels is just a sane default vs. the alternative of having the browser throw them out---passing "3em" will work...

@stuarthalloway Empty list action fixes issues for you? That's terrifying. The visual REPL is pretty stale at the moment---I'd just import C2 into a standard Clojure project / REPL setup...

@egonelbre The style function that used to be in core was a quick-hack to begin with, which is why I took it out = ) For CSS we use Compass...

@Santei A simple axis helper fn exists in the SVG namespace: https://github.com/lynaghk/c2/blob/master/src/cljx/c2/svg.cljx#L74 it'll work on both clojure and clojurescript.