diff --git a/.gitignore b/.gitignore index a22a474..28c4a0f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,74 @@ .shadow-cljs/ node_modules/ public/app/ + +# Created by https://www.gitignore.io/api/emacs + +### Emacs ### +# -*- mode: gitignore; -*- +*~ +\#*\# +/.emacs.desktop +/.emacs.desktop.lock +*.elc +auto-save-list +tramp +.\#* + +# Org-mode +.org-id-locations +*_archive + +# flymake-mode +*_flymake.* + +# eshell files +/eshell/history +/eshell/lastdir + +# elpa packages +/elpa/ + +# reftex files +*.rel + +# AUCTeX auto folder +/auto/ + +# cask packages +.cask/ +dist/ + +# Flycheck +flycheck_*.el + +# server auth directory +/server/ + +# projectiles files +.projectile +projectile-bookmarks.eld + +# directory configuration +.dir-locals.el + +# saveplace +places + +# url cache +url/cache/ + +# cedet +ede-projects.el + +# smex +smex-items + +# company-statistics +company-statistics-cache.el + +# anaconda-mode +anaconda-mode/ + + +# End of https://www.gitignore.io/api/emacs diff --git a/shadow-cljs.edn b/shadow-cljs.edn index 6b94c71..20cf607 100644 --- a/shadow-cljs.edn +++ b/shadow-cljs.edn @@ -5,7 +5,11 @@ :dependencies [[reagent "0.7.0"] [re-frame "0.10.5"] - [day8.re-frame/re-frame-10x "0.3.2-react16"]] + ;; debugging + [day8.re-frame/re-frame-10x "0.3.2-react16"] + ;; for CIDER + [cider/cider-nrepl "0.16.0-snapshot"] + [refactor-nrepl "2.3.1"]] :builds {:app {:target :browser @@ -15,4 +19,5 @@ :modules {:main {:entries [airsonic-ui.core]}} :devtools {:http-root "public" :http-port 8080 + :after-load airsonic-ui.core/mount-root :preloads [day8.re-frame-10x.preload]}}}} diff --git a/src/airsonic_ui/core.cljs b/src/airsonic_ui/core.cljs index 8e4af07..026518d 100644 --- a/src/airsonic_ui/core.cljs +++ b/src/airsonic_ui/core.cljs @@ -5,7 +5,6 @@ [airsonic-ui.views :as views] [airsonic-ui.config :as config])) - (defn dev-setup [] (when config/debug? (enable-console-print!)