Enable re-frisk for dev profile

This commit is contained in:
Teemu Patja 2017-01-28 08:24:05 +02:00
parent 0192adf419
commit a4aafa1bd3
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
2 changed files with 7 additions and 2 deletions

View File

@ -40,7 +40,8 @@
[luminus-immutant "0.2.3"]
[clj.qrgen "0.4.0"]
[digest "1.4.5"]
[tentacles "0.5.1"]]
[tentacles "0.5.1"]
[re-frisk "0.3.2"]]
:min-lein-version "2.0.0"
:source-paths ["src/clj" "src/cljc"]

View File

@ -13,7 +13,9 @@
[commiteth.issues :refer [issues-page]]
[commiteth.common :refer [input checkbox]]
[commiteth.subscriptions :refer [user-address-path]]
[clojure.set :refer [rename-keys]])
[commiteth.config :as config]
[clojure.set :refer [rename-keys]]
[re-frisk.core :refer [enable-re-frisk!]])
(:import goog.History))
(defn login-link []
@ -177,6 +179,8 @@
(defn init! []
(rf/dispatch-sync [:initialize-db])
(when config/debug?
(enable-re-frisk!))
(load-interceptors!)
(hook-browser-navigation!)
(load-data)