[ClojureScript] A question for TDD practitioners

2014-01-27 Thread Mimmo Cosenza
I do not practice TDD a lot, but I think that thanks to recent events clojurescript will attract people more sensible to TDD workflows. Due to a limitation of austin and clojurescript.test regarding :none optimisation, it's not possible to use it with them. So we have to switch to :whitespace

[ClojureScript] Running clojurescript.test tests on node.js

2014-01-27 Thread Chas Emerick
Starting with version 0.2.2, clojurescript.test ships with a node.js test runner. Instructions for how to configure your projects to use node.js to run clojurescript.test tests can be found in the readme: https://github.com/cemerick/clojurescript.test I have one public project that is now

[ClojureScript] reagent, event after rendering?

2014-01-27 Thread ritchie turner
Hi How i want to get an event after reagent is finished rendering a component. I want to be able to query the dimensions of a component, e.g. to center a dialog box component after I've rendered a new form into it. Thanks R -- Note that posts from new members are moderated - please be

Re: [ClojureScript] Re: ANN: Om 0.3.0

2014-01-27 Thread Mike Haney
Yes! This is good stuff. Over the weekend, I started working on using Om for a potential real world project and I quickly encountered the need for higher order polymorphic components. Then I started worrying that maybe I had missed some fundamental concept of Om/React and was complecting.

Re: [ClojureScript] Re: ANN: Om 0.3.0

2014-01-27 Thread David Nolen
On Mon, Jan 27, 2014 at 12:48 PM, Mike Haney txmikes...@gmail.com wrote: I was initially surprised by the implementation in your tutorial using multimethods instead of protocols, especially since you are only dispatching on a single function. But as I thought about it more, I realized this

[ClojureScript] Re: ANN: Om 0.3.0

2014-01-27 Thread David Pidcock
Did you get this fixed Rudi? If your project file requires om 0.2.3, then it was something with the lein new command (which is now fixed). I recommend manually changing the project file to require om 0.3.0 and then don't forget to lein cljscript clean before recompiling (which I did). On

Re: [ClojureScript] Re: ANN: Om 0.3.0

2014-01-27 Thread Joel Trunick
A by the way this is how it looks using Sablano/Kioo would be nice in the tutorial. On Mon, Jan 27, 2014 at 12:10 PM, David Nolen dnolen.li...@gmail.comwrote: On Mon, Jan 27, 2014 at 12:48 PM, Mike Haney txmikes...@gmail.com wrote: I was initially surprised by the implementation in your

Re: [ClojureScript] ANN: Om 0.3.0

2014-01-27 Thread Jamie Orchard-Hays
looking forward to working through the new stuff later this week. On Jan 26, 2014, at 10:19 PM, David Nolen dnolen.li...@gmail.com wrote: Glad to hear it. I recommend taking a look at the new section Higher Order Components

Re: [ClojureScript] Re: ANN: Om 0.3.0

2014-01-27 Thread David Nolen
om/join is conceptually quite cool, but it actually needs some serious work as alluded - currently you're likely to run into some nasty surprises if you really try to use it. The tutorials aren't going to proceed until this is addressed sometime this week. David On Mon, Jan 27, 2014 at 1:28 PM,

Re: [ClojureScript] Re: ANN: Om 0.3.0

2014-01-27 Thread David Pidcock
I'm a big fan of this new tutorial. It hi-lights some of the benefits of cursors, and I actually realize how I might use om/join suddenly :D -- Note that posts from new members are moderated - please be patient with your first post. --- You received this message because you are subscribed to