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": [
"images"
]
],
"iosHost": "localhost"
}

View File

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

View File

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