implemented sorted app-db and interface for pre-send function

This commit is contained in:
Andrey Shovkoplyas 2017-04-24 11:28:46 +03:00 committed by Roman Volosovskyi
parent eeb7d72d4a
commit 96dc348d7c
3 changed files with 5 additions and 5 deletions

View File

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

View File

@ -16,6 +16,6 @@
: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"}) (rr/enable-re-frisk-remote! {:host "localhost:4567" :pre-send (fn [db] (update db :chats #(into {} %)))})
(core/init) (core/init)

View File

@ -13,7 +13,7 @@
[com.taoensso/timbre "4.7.4"]] [com.taoensso/timbre "4.7.4"]]
:plugins [[lein-cljsbuild "1.1.4"] :plugins [[lein-cljsbuild "1.1.4"]
[lein-figwheel "0.5.8"] [lein-figwheel "0.5.8"]
[lein-re-frisk "0.4.6"] [lein-re-frisk "0.4.7"]
[rasom/lein-externs "0.1.7"]] [rasom/lein-externs "0.1.7"]]
: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."}
@ -24,8 +24,8 @@
:test-paths ["test/clj"] :test-paths ["test/clj"]
:figwheel {:nrepl-port 7888} :figwheel {:nrepl-port 7888}
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.8"] :profiles {:dev {:dependencies [[figwheel-sidecar "0.5.8"]
[re-frisk-remote "0.4.1"] [re-frisk-remote "0.4.2"]
[re-frisk-sidecar "0.4.4"] [re-frisk-sidecar "0.4.5"]
[com.cemerick/piggieback "0.2.1"] [com.cemerick/piggieback "0.2.1"]
[io.appium/java-client "3.4.1"] [io.appium/java-client "3.4.1"]
[hawk "0.2.10"]] [hawk "0.2.10"]]