Re: [ClojureScript] Trying to wrap my head around the latest Om API changes

2014-01-22 Thread David Nolen
On Tue, Jan 21, 2014 at 9:14 PM, kovas boguta wrote: > I understand all these mechanisms exist for a reason, but is there > hope for simplifying things? > > The distinctions between :init-state and :state, and between :opts and > get-shared are pretty subtle. Additionally, there is also the vanill

Re: [ClojureScript] Trying to wrap my head around the latest Om API changes

2014-01-22 Thread kovas boguta
On Wed, Jan 22, 2014 at 1:42 PM, David Nolen wrote: > om.core/get-shared leaves the door open for components requesting some > global service without resorting to cljs.core/exists?. Not clear to me what that means. Is there more to it than "get-shared is for things that don't change, :opts is for

Re: [ClojureScript] Trying to wrap my head around the latest Om API changes

2014-01-22 Thread David Nolen
On Wed, Jan 22, 2014 at 6:34 PM, kovas boguta wrote: > On Wed, Jan 22, 2014 at 1:42 PM, David Nolen > wrote: > > om.core/get-shared leaves the door open for components requesting some > > global service without resorting to cljs.core/exists?. > > Not clear to me what that means. Is there more to

Re: [ClojureScript] clojurescript.test vs cljs.nodejs

2014-01-22 Thread Michael Glaesemann
On Jan 21, 2014, at 21:07, Michael Glaesemann wrote: > > On Jan 21, 2014, at 15:20, Chas Emerick wrote: > >> Correct, clojurescript.test only supports phantomjs and phantomjs-compatible >> environments (e.g. slimer and derivatives) at the moment. As noted in the >> README, runners for other