changes required to make om.next work, bump to alpha11

This commit is contained in:
David Mohl 2015-10-27 12:43:34 +09:00
parent ab8e7bfeeb
commit e13db21194
2 changed files with 5 additions and 4 deletions

View File

@ -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 []

View File

@ -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"]