Update dependencies

This commit is contained in:
Dan Holmsand 2013-12-17 15:29:02 +01:00
parent 59333443a7
commit 239120954d
4 changed files with 9 additions and 6 deletions

View File

@ -1,9 +1,10 @@
(defproject simple-cloact "0.0.2-SNAPSHOT"
:dependencies [[org.clojure/clojurescript "0.0-2120"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2120"]
[cloact "0.0.2-SNAPSHOT"]]
:plugins [[lein-cljsbuild "1.0.0"]]
:plugins [[lein-cljsbuild "1.0.1"]]
:hooks [leiningen.cljsbuild]
:profiles {:prod {:cljsbuild
{:builds

View File

@ -1,9 +1,10 @@
(defproject todomvc-cloact "0.0.2-SNAPSHOT"
:dependencies [[org.clojure/clojurescript "0.0-2120"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2120"]
[cloact "0.0.2-SNAPSHOT"]]
:plugins [[lein-cljsbuild "1.0.0"]]
:plugins [[lein-cljsbuild "1.0.1"]]
:hooks [leiningen.cljsbuild]
:profiles {:prod {:cljsbuild
{:builds

View File

@ -1,7 +1,8 @@
(defproject cloact "0.0.2-SNAPSHOT"
:dependencies [[org.clojure/clojurescript "0.0-2120"]]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2120"]]
:plugins [[lein-cljsbuild "1.0.1"]]
:hooks [leiningen.cljsbuild]
:profiles {:prod {:cljsbuild

View File

@ -92,7 +92,7 @@
(defn- do-render [C f]
(set! (.-isRenderContext ratom/*ratom-context*) true)
(let [res (f (cljs-props C) C)
(let [res (f (cljs-props C) C (.-state C))
conv (if (vector? res)
(tmpl/as-component res)
(if (fn? res)