From 6b1ed8fa4754f0df798dbd4ba3a2a62b08fab23f Mon Sep 17 00:00:00 2001 From: Andrey Shovkoplyas Date: Mon, 4 Sep 2017 10:34:28 +0300 Subject: [PATCH] re-frisk 0.5.0 --- env/dev/env/android/main.cljs | 4 +--- env/dev/env/ios/main.cljs | 4 +--- project.clj | 6 +++--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/env/dev/env/android/main.cljs b/env/dev/env/android/main.cljs index 1abb70e2ab..312de37e64 100644 --- a/env/dev/env/android/main.cljs +++ b/env/dev/env/android/main.cljs @@ -19,6 +19,4 @@ :heads-up-display false :jsload-callback callback) -(rr/enable-re-frisk-remote! {:host "10.0.3.2:4567" :pre-send (fn [db] (update db :chats #(into {} %)))}) - -(core/init) +(rr/enable-re-frisk-remote! {:host "10.0.3.2:4567" :on-init core/init :pre-send (fn [db] (update db :chats #(into {} %)))}) \ No newline at end of file diff --git a/env/dev/env/ios/main.cljs b/env/dev/env/ios/main.cljs index 5e13f712d9..8196606cfc 100644 --- a/env/dev/env/ios/main.cljs +++ b/env/dev/env/ios/main.cljs @@ -16,6 +16,4 @@ :heads-up-display false :jsload-callback #(swap! cnt inc)) -(rr/enable-re-frisk-remote! {:host "localhost:4567" :pre-send (fn [db] (update db :chats #(into {} %)))}) - -(core/init) \ No newline at end of file +(rr/enable-re-frisk-remote! {:host "localhost:4567" :on-init core/init :pre-send (fn [db] (update db :chats #(into {} %)))}) \ No newline at end of file diff --git a/project.clj b/project.clj index 96001f5d1f..eae9e74672 100644 --- a/project.clj +++ b/project.clj @@ -13,7 +13,7 @@ [hickory "0.7.1"]] :plugins [[lein-cljsbuild "1.1.7"] [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"] :aliases {"prod-build" ^{:doc "Recompile code with prod profile."} ["do" "clean" @@ -23,8 +23,8 @@ "test-protocol" ["with-profile" "test" "doo" "node" "protocol" "once"]} :figwheel {:nrepl-port 7888} :profiles {:dev {:dependencies [[figwheel-sidecar "0.5.11"] - [re-frisk-remote "0.4.2"] - [re-frisk-sidecar "0.4.5"] + [re-frisk-remote "0.5.0"] + [re-frisk-sidecar "0.5.0"] [com.cemerick/piggieback "0.2.2"] [hawk "0.2.11"]] :source-paths ["src" "env/dev"]