re-frisk 0.5.0

This commit is contained in:
Andrey Shovkoplyas 2017-09-04 10:34:28 +03:00 committed by Roman Volosovskyi
parent 99e04105ec
commit 6b1ed8fa47
3 changed files with 5 additions and 9 deletions

View File

@ -19,6 +19,4 @@
:heads-up-display false :heads-up-display false
:jsload-callback callback) :jsload-callback callback)
(rr/enable-re-frisk-remote! {:host "10.0.3.2:4567" :pre-send (fn [db] (update db :chats #(into {} %)))}) (rr/enable-re-frisk-remote! {:host "10.0.3.2:4567" :on-init core/init :pre-send (fn [db] (update db :chats #(into {} %)))})
(core/init)

View File

@ -16,6 +16,4 @@
:heads-up-display false :heads-up-display false
:jsload-callback #(swap! cnt inc)) :jsload-callback #(swap! cnt inc))
(rr/enable-re-frisk-remote! {:host "localhost:4567" :pre-send (fn [db] (update db :chats #(into {} %)))}) (rr/enable-re-frisk-remote! {:host "localhost:4567" :on-init core/init :pre-send (fn [db] (update db :chats #(into {} %)))})
(core/init)

View File

@ -13,7 +13,7 @@
[hickory "0.7.1"]] [hickory "0.7.1"]]
:plugins [[lein-cljsbuild "1.1.7"] :plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.13"] [lein-figwheel "0.5.13"]
[lein-re-frisk "0.4.8"]] [lein-re-frisk "0.5.0"]]
:clean-targets ["target/" "index.ios.js" "index.android.js"] :clean-targets ["target/" "index.ios.js" "index.android.js"]
:aliases {"prod-build" ^{:doc "Recompile code with prod profile."} :aliases {"prod-build" ^{:doc "Recompile code with prod profile."}
["do" "clean" ["do" "clean"
@ -23,8 +23,8 @@
"test-protocol" ["with-profile" "test" "doo" "node" "protocol" "once"]} "test-protocol" ["with-profile" "test" "doo" "node" "protocol" "once"]}
:figwheel {:nrepl-port 7888} :figwheel {:nrepl-port 7888}
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.11"] :profiles {:dev {:dependencies [[figwheel-sidecar "0.5.11"]
[re-frisk-remote "0.4.2"] [re-frisk-remote "0.5.0"]
[re-frisk-sidecar "0.4.5"] [re-frisk-sidecar "0.5.0"]
[com.cemerick/piggieback "0.2.2"] [com.cemerick/piggieback "0.2.2"]
[hawk "0.2.11"]] [hawk "0.2.11"]]
:source-paths ["src" "env/dev"] :source-paths ["src" "env/dev"]