Updated re-natal

This commit is contained in:
Adrian Tiberius 2016-04-08 04:42:59 +03:00
parent 14523c6e18
commit 726ea23dd6
3 changed files with 7 additions and 7 deletions

View File

@ -18,5 +18,6 @@
], ],
"imageDirs": [ "imageDirs": [
"images" "images"
] ],
"iosHost": "localhost"
} }

View File

@ -1,13 +1,12 @@
(ns ^:figwheel-no-load env.android.main (ns ^:figwheel-no-load env.android.main
(:require [reagent.core :as r] (:require [reagent.core :as r]
[syng-im.android.core :refer [app-root]] [syng-im.android.core :as core]
[figwheel.client :as figwheel :include-macros true] [figwheel.client :as figwheel :include-macros true]))
[syng-im.android.core :as core]))
(enable-console-print!) (enable-console-print!)
(def cnt (r/atom 0)) (def cnt (r/atom 0))
(defn reloader [] @cnt [app-root]) (defn reloader [] @cnt [core/app-root])
(def root-el (r/as-element [reloader])) (def root-el (r/as-element [reloader]))
(figwheel/watch-and-reload (figwheel/watch-and-reload

View File

@ -11,7 +11,7 @@
(figwheel/watch-and-reload (figwheel/watch-and-reload
:websocket-url "ws://localhost:3449/figwheel-ws" :websocket-url "ws://localhost:3449/figwheel-ws"
:heads-up-display true :heads-up-display false
:jsload-callback #(swap! cnt inc)) :jsload-callback #(swap! cnt inc))
(core/init) (core/init)