Clean up unused namespaces

This commit is contained in:
Daniel Compton 2018-01-30 15:41:39 +13:00
parent 2a644b9acf
commit 7af2532d55
9 changed files with 7 additions and 27 deletions

View File

@ -1,17 +1,11 @@
(ns day8.re-frame.trace (ns day8.re-frame.trace
(:require [day8.re-frame.trace.view.app-db :as app-db] (:require [day8.re-frame.trace.styles :as styles]
[day8.re-frame.trace.styles :as styles]
[day8.re-frame.trace.view.components :as components]
[day8.re-frame.trace.view.container :as container] [day8.re-frame.trace.view.container :as container]
[day8.re-frame.trace.utils.localstorage :as localstorage]
[day8.re-frame.trace.events :as events]
[day8.re-frame.trace.subs] [day8.re-frame.trace.subs]
[day8.re-frame.trace.events]
[day8.re-frame.trace.db :as trace.db] [day8.re-frame.trace.db :as trace.db]
[re-frame.trace :as trace :include-macros true] [re-frame.trace :as trace :include-macros true]
[re-frame.db :as db]
[clojure.string :as str] [clojure.string :as str]
[clojure.set :as set]
[reagent.core :as real-reagent]
[reagent.interop :refer-macros [$ $!]] [reagent.interop :refer-macros [$ $!]]
[reagent.impl.util :as util] [reagent.impl.util :as util]
[reagent.impl.component :as component] [reagent.impl.component :as component]
@ -19,7 +13,6 @@
[reagent.ratom :as ratom] [reagent.ratom :as ratom]
[goog.object :as gob] [goog.object :as gob]
[re-frame.interop :as interop] [re-frame.interop :as interop]
[devtools.formatters.core :as devtools]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf] [mranderson047.re-frame.v0v10v2.re-frame.core :as rf]
[mranderson047.reagent.v0v7v0.reagent.core :as r])) [mranderson047.reagent.v0v7v0.reagent.core :as r]))

View File

@ -1,5 +1,4 @@
(ns day8.re-frame.trace.metamorphic (ns day8.re-frame.trace.metamorphic)
(:require [mranderson047.re-frame.v0v10v2.re-frame.utils :as utils]))
;; What starts an epoch? ;; What starts an epoch?

View File

@ -1,5 +1,4 @@
(ns day8.re-frame.trace.styles (ns day8.re-frame.trace.styles
(:require-macros [day8.re-frame.trace.utils.macros :as macros])
(:require [mranderson047.garden.v1v3v3.garden.core :as garden] (:require [mranderson047.garden.v1v3v3.garden.core :as garden]
[mranderson047.garden.v1v3v3.garden.units :refer [em px percent]] [mranderson047.garden.v1v3v3.garden.units :refer [em px percent]]
[mranderson047.garden.v1v3v3.garden.color :as color] [mranderson047.garden.v1v3v3.garden.color :as color]
@ -7,7 +6,6 @@
[day8.re-frame.trace.common-styles :as common] [day8.re-frame.trace.common-styles :as common]
[day8.re-frame.trace.utils.re-com :as rc] [day8.re-frame.trace.utils.re-com :as rc]
[day8.re-frame.trace.view.app-db :as app-db] [day8.re-frame.trace.view.app-db :as app-db]
[cljs.spec.alpha :as spec]
[day8.re-frame.trace.view.timing :as timing] [day8.re-frame.trace.view.timing :as timing]
[day8.re-frame.trace.view.settings :as settings] [day8.re-frame.trace.view.settings :as settings]
[day8.re-frame.trace.view.event :as event])) [day8.re-frame.trace.view.event :as event]))
@ -437,8 +435,6 @@
timing/timing-styles timing/timing-styles
event/event-styles event/event-styles
settings/settings-styles])) settings/settings-styles]))
;(def panel-styles (macros/slurp-macro "day8/re_frame/trace/main.css"))
(defn inject-style [document id style] (defn inject-style [document id style]
(let [styles-el (.getElementById document id) (let [styles-el (.getElementById document id)

View File

@ -1,6 +1,6 @@
(ns day8.re-frame.trace.utils.localstorage (ns day8.re-frame.trace.utils.localstorage
(:require [goog.storage.Storage :as Storage] (:require [goog.storage.Storage]
[goog.storage.mechanism.HTML5LocalStorage :as html5localstore] [goog.storage.mechanism.HTML5LocalStorage]
[cljs.reader :as reader] [cljs.reader :as reader]
[clojure.string :as str]) [clojure.string :as str])
(:refer-clojure :exclude [get])) (:refer-clojure :exclude [get]))

View File

@ -2,7 +2,6 @@
(:require [clojure.string :as str] (:require [clojure.string :as str]
[goog.fx.dom :as fx] [goog.fx.dom :as fx]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf] [mranderson047.re-frame.v0v10v2.re-frame.core :as rf]
[day8.re-frame.trace.utils.localstorage :as localstorage]
[clojure.string :as str] [clojure.string :as str]
[day8.re-frame.trace.utils.re-com :as rc] [day8.re-frame.trace.utils.re-com :as rc]
[mranderson047.reagent.v0v7v0.reagent.core :as r]) [mranderson047.reagent.v0v7v0.reagent.core :as r])

View File

@ -1,6 +1,5 @@
(ns day8.re-frame.trace.view.event (ns day8.re-frame.trace.view.event
(:require [day8.re-frame.trace.utils.re-com :as rc] (:require [day8.re-frame.trace.utils.re-com :as rc]
[day8.re-frame.trace.metamorphic :as metam]
[day8.re-frame.trace.view.components :as components] [day8.re-frame.trace.view.components :as components]
[day8.re-frame.trace.common-styles :as common] [day8.re-frame.trace.common-styles :as common]
[mranderson047.garden.v1v3v3.garden.units :as units] [mranderson047.garden.v1v3v3.garden.units :as units]

View File

@ -1,6 +1,5 @@
(ns day8.re-frame.trace.view.settings (ns day8.re-frame.trace.view.settings
(:require [mranderson047.re-frame.v0v10v2.re-frame.core :as rf] (:require [mranderson047.re-frame.v0v10v2.re-frame.core :as rf]
[mranderson047.reagent.v0v7v0.reagent.core :as r]
[day8.re-frame.trace.utils.re-com :as rc :refer [css-join]] [day8.re-frame.trace.utils.re-com :as rc :refer [css-join]]
[day8.re-frame.trace.common-styles :as common] [day8.re-frame.trace.common-styles :as common]
[mranderson047.garden.v1v3v3.garden.units :as units] [mranderson047.garden.v1v3v3.garden.units :as units]

View File

@ -1,12 +1,10 @@
(ns day8.re-frame.trace.view.timing (ns day8.re-frame.trace.view.timing
(:require [clojure.string :as str] (:require [devtools.prefs]
[devtools.prefs]
[devtools.formatters.core] [devtools.formatters.core]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf] [mranderson047.re-frame.v0v10v2.re-frame.core :as rf]
[day8.re-frame.trace.utils.re-com :as rc] [day8.re-frame.trace.utils.re-com :as rc]
[day8.re-frame.trace.common-styles :as common] [day8.re-frame.trace.common-styles :as common]
[day8.re-frame.trace.view.components :as components]) [day8.re-frame.trace.view.components :as components]))
(:require-macros [day8.re-frame.trace.utils.macros :as macros]))
(def timing-styles (def timing-styles
[:#--re-frame-trace-- [:#--re-frame-trace--

View File

@ -1,10 +1,7 @@
(ns day8.re-frame.trace.view.traces (ns day8.re-frame.trace.view.traces
(:require [day8.re-frame.trace.view.components :as components] (:require [day8.re-frame.trace.view.components :as components]
[day8.re-frame.trace.utils.pretty-print-condensed :as pp] [day8.re-frame.trace.utils.pretty-print-condensed :as pp]
[re-frame.trace :as trace]
[clojure.string :as str] [clojure.string :as str]
[day8.re-frame.trace.utils.localstorage :as localstorage]
[clojure.set :as set]
[mranderson047.reagent.v0v7v0.reagent.core :as r] [mranderson047.reagent.v0v7v0.reagent.core :as r]
[mranderson047.re-frame.v0v10v2.re-frame.core :as rf] [mranderson047.re-frame.v0v10v2.re-frame.core :as rf]
[day8.re-frame.trace.utils.re-com :as rc])) [day8.re-frame.trace.utils.re-com :as rc]))