mirror of https://github.com/status-im/reagent.git
Update dependencies
This commit is contained in:
parent
59333443a7
commit
239120954d
|
@ -1,9 +1,10 @@
|
||||||
|
|
||||||
|
|
||||||
(defproject simple-cloact "0.0.2-SNAPSHOT"
|
(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"]]
|
[cloact "0.0.2-SNAPSHOT"]]
|
||||||
:plugins [[lein-cljsbuild "1.0.0"]]
|
:plugins [[lein-cljsbuild "1.0.1"]]
|
||||||
:hooks [leiningen.cljsbuild]
|
:hooks [leiningen.cljsbuild]
|
||||||
:profiles {:prod {:cljsbuild
|
:profiles {:prod {:cljsbuild
|
||||||
{:builds
|
{:builds
|
||||||
|
|
|
@ -1,9 +1,10 @@
|
||||||
|
|
||||||
|
|
||||||
(defproject todomvc-cloact "0.0.2-SNAPSHOT"
|
(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"]]
|
[cloact "0.0.2-SNAPSHOT"]]
|
||||||
:plugins [[lein-cljsbuild "1.0.0"]]
|
:plugins [[lein-cljsbuild "1.0.1"]]
|
||||||
:hooks [leiningen.cljsbuild]
|
:hooks [leiningen.cljsbuild]
|
||||||
:profiles {:prod {:cljsbuild
|
:profiles {:prod {:cljsbuild
|
||||||
{:builds
|
{:builds
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
|
|
||||||
|
|
||||||
(defproject cloact "0.0.2-SNAPSHOT"
|
(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"]]
|
:plugins [[lein-cljsbuild "1.0.1"]]
|
||||||
:hooks [leiningen.cljsbuild]
|
:hooks [leiningen.cljsbuild]
|
||||||
:profiles {:prod {:cljsbuild
|
:profiles {:prod {:cljsbuild
|
||||||
|
|
|
@ -92,7 +92,7 @@
|
||||||
|
|
||||||
(defn- do-render [C f]
|
(defn- do-render [C f]
|
||||||
(set! (.-isRenderContext ratom/*ratom-context*) true)
|
(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)
|
conv (if (vector? res)
|
||||||
(tmpl/as-component res)
|
(tmpl/as-component res)
|
||||||
(if (fn? res)
|
(if (fn? res)
|
||||||
|
|
Loading…
Reference in New Issue