changes required to make om.next work, bump to alpha11
This commit is contained in:
parent
ab8e7bfeeb
commit
e13db21194
|
@ -42,10 +42,11 @@
|
|||
(def reconciler
|
||||
(om/reconciler
|
||||
{:state app-state
|
||||
:parser (om/parser {:read read})}))
|
||||
:parser (om/parser {:read read})
|
||||
:root-render #(.render js/React %1 %2)
|
||||
:root-unmount #(.unmountComponentAtNode js/React %)}))
|
||||
|
||||
|
||||
(om/add-root! reconciler WidgetComponent {:target 1})
|
||||
(om/add-root! reconciler WidgetComponent 1)
|
||||
|
||||
(defn ^:export init []
|
||||
((fn render []
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
:url "http://www.eclipse.org/legal/epl-v10.html"}
|
||||
:dependencies [[org.clojure/clojure "1.7.0"]
|
||||
[org.clojure/clojurescript "1.7.145"]
|
||||
[org.omcljs/om "1.0.0-alpha8"]
|
||||
[org.omcljs/om "1.0.0-alpha11"]
|
||||
[org.omcljs/ambly "0.6.0"]]
|
||||
:plugins [[lein-cljsbuild "1.1.0"]]
|
||||
:cljsbuild {:builds {:dev {:source-paths ["src"]
|
||||
|
|
Loading…
Reference in New Issue