Re: [ClojureScript] Re: Upgrading Om, js/React.createFactory not present?

2015-10-12 Thread Ken Restivo
On Fri, Oct 09, 2015 at 09:42:52PM -0700, Adam Kowalski wrote: > Om next relies on factories so I know that it should be available in the > latest build 0.9.0-SNAPSHOT. Its not on clojars but you can clone the latest > version of the om repo and run lein install. You will get a jar inside of the

[ClojureScript] Upgrading Om, js/React.createFactory not present?

2015-09-28 Thread Ken Restivo
I was experimenting with upgrading an old app I wrote a year ago to the latest Om. I got this JS error: (defn wrap-form-element [ctor display-name] (js/React.createFactory ^ Uncaught TypeError: undefined is not a function This is with an attempt to upgrade to om 0.9.0, which pull

Re: [ClojureScript] Self-hosting ClojureScript -- how far away is it, and how can I help?

2015-01-27 Thread Ken Restivo
How will Closure Advanced compilation work without a JVM? On Tue, Jan 27, 2015 at 11:37:19AM -0500, David Nolen wrote: > https://github.com/clojure/clojurescript/wiki/Bootstrapping-the-Compiler > > Some people are already working on tools.reader. Feature expression like > functionality is underwa

[ClojureScript] Om wrapping Flot example

2014-11-08 Thread Ken Restivo
Just a small thing, not really worth of a git repo, but... A reusable OM component to wrap a Flot chart object: (defn flot "node-name is the id for the DOM node of the flot chart chart-options is a clojure nested map of options for flot (see flot docs) data is clojure vector of vectors or