style: remove unused :require (#193)

Co-authored-by: Tienson Qin <tiensonqin@gmail.com>
This commit is contained in:
Michael Wong
2020-11-04 11:35:35 +08:00
committed by GitHub
parent 646960a00c
commit 3cc0d3154a
50 changed files with 13 additions and 144 deletions

View File

@@ -15,9 +15,6 @@
[frontend.components.draw :as draw]
[frontend.components.datetime :as datetime-comp]
[frontend.ui :as ui]
[frontend.components.widgets :as widgets]
[frontend.handler.ui :as ui-handler]
[frontend.handler.image :as image-handler]
[frontend.handler.editor :as editor-handler]
[frontend.handler.dnd :as dnd]
[frontend.handler.repeated :as repeated]
@@ -25,7 +22,6 @@
[medley.core :as medley]
[cljs.reader :as reader]
[frontend.util :as util :refer-macros [profile]]
[frontend.mixins :as mixins]
[frontend.db-mixins :as db-mixins]
[frontend.extensions.latex :as latex]
[frontend.components.lazy-editor :as lazy-editor]

View File

@@ -1,12 +1,8 @@
(ns frontend.components.commit
(:require [rum.core :as rum]
[frontend.util :as util :refer-macros [profile]]
[frontend.handler.git :as git-handler]
[frontend.handler.repo :as repo-handler]
[frontend.state :as state]
[clojure.string :as string]
[frontend.db :as db]
[frontend.ui :as ui]
[frontend.mixins :as mixins]
[goog.dom :as gdom]
[goog.object :as gobj]))

View File

@@ -18,10 +18,8 @@
[cljs.pprint :as pprint]
[frontend.handler.notification :as notification]
[frontend.components.editor :as editor]
[frontend.components.svg :as svg]
[frontend.context.i18n :as i18n]
[frontend.text :as text]
[frontend.security :as security]))
[frontend.text :as text]))
(defn- set-format-js-loading!
[format value]

View File

@@ -4,7 +4,6 @@
[frontend.components.svg :as svg]
[frontend.date :as date]
[frontend.state :as state]
[frontend.mixins :as mixins]
[frontend.handler.repeated :as repeated]
[frontend.handler.editor :as editor-handler]
[cljs-time.core :as t]

View File

@@ -3,14 +3,12 @@
[goog.object :as gobj]
[frontend.rum :as r]
[frontend.util :as util :refer-macros [profile]]
[frontend.fs :as fs]
[frontend.mixins :as mixins]
[frontend.storage :as storage]
[frontend.components.svg :as svg]
[cljs-bean.core :as bean]
[dommy.core :as d]
[clojure.string :as string]
[frontend.date :as date]
[frontend.handler.notification :as notification]
[frontend.handler.draw :as draw :refer
[*files

View File

@@ -3,20 +3,16 @@
[frontend.components.svg :as svg]
[frontend.config :as config]
[frontend.handler.editor :as editor-handler :refer [get-state]]
[frontend.handler.image :as image-handler]
[frontend.util :as util :refer-macros [profile]]
[frontend.handler.file :as file]
[frontend.handler.page :as page-handler]
[frontend.components.datetime :as datetime-comp]
[promesa.core :as p]
[frontend.date :as date]
[frontend.state :as state]
[frontend.mixins :as mixins]
[frontend.image :as image]
[frontend.ui :as ui]
[frontend.db :as db]
[frontend.config :as config]
[frontend.utf8 :as utf8]
[dommy.core :as d]
[goog.object :as gobj]
[goog.dom :as gdom]
@@ -29,12 +25,8 @@
*angle-bracket-caret-pos
*matched-block-commands
*show-block-commands]]
[frontend.format.block :as block]
[medley.core :as medley]
[cljs-time.core :as t]
[cljs-time.coerce :as tc]
[cljs-drag-n-drop.core :as dnd]
[frontend.search :as search]
[frontend.text :as text]
["/frontend/utils" :as utils]))

View File

@@ -2,23 +2,15 @@
(:require [rum.core :as rum]
[frontend.util :as util]
[frontend.handler.project :as project]
[frontend.handler.ui :as ui-handler]
[frontend.handler.image :as image-handler]
[frontend.handler.file :as file]
[frontend.handler.export :as export-handler]
[frontend.handler.page :as page-handler]
[frontend.config :as config]
[frontend.state :as state]
[clojure.string :as string]
[frontend.db :as db]
[frontend.ui :as ui]
[frontend.format :as format]
[frontend.format.mldoc :as mldoc]
[frontend.components.content :as content]
[frontend.components.lazy-editor :as lazy-editor]
[frontend.config :as config]
[frontend.utf8 :as utf8]
[goog.dom :as gdom]
[goog.object :as gobj]
[frontend.date :as date]
[cljs-time.coerce :as tc]

View File

@@ -4,22 +4,18 @@
[frontend.date :as date]
[frontend.db-mixins :as db-mixins]
[frontend.handler.notification :as notification]
[frontend.handler.repo :as repo-handler]
[frontend.handler.page :as page-handler]
[frontend.handler.editor :as editor-handler]
[frontend.handler.ui :as ui-handler]
[frontend.db :as db]
[frontend.state :as state]
[clojure.string :as string]
[frontend.ui :as ui]
[frontend.format :as format]
[frontend.components.content :as content]
[frontend.components.block :as block]
[frontend.components.editor :as editor]
[frontend.components.reference :as reference]
[frontend.components.page :as page]
[frontend.components.onboarding :as onboarding]
[frontend.utf8 :as utf8]
[goog.object :as gobj]
[clojure.string :as string]))

View File

@@ -1,6 +1,5 @@
(ns frontend.components.page
(:require [rum.core :as rum]
[medley.core :as medley]
[frontend.util :as util :refer-macros [profile]]
[frontend.handler.file :as file]
[frontend.handler.page :as page-handler]
@@ -8,7 +7,6 @@
[frontend.handler.route :as route-handler]
[frontend.handler.notification :as notification]
[frontend.handler.editor :as editor-handler]
[frontend.handler.export :as export-handler]
[frontend.state :as state]
[clojure.string :as string]
[frontend.db :as db]
@@ -19,7 +17,6 @@
[frontend.components.svg :as svg]
[frontend.extensions.graph-2d :as graph-2d]
[frontend.ui :as ui]
[frontend.format :as format]
[frontend.components.content :as content]
[frontend.components.project :as project]
[frontend.config :as config]

View File

@@ -1,13 +1,7 @@
(ns frontend.components.project
(:require [rum.core :as rum]
[frontend.util :as util :refer-macros [profile]]
[frontend.handler.project :as project-handler]
[frontend.state :as state]
[clojure.string :as string]
[frontend.ui :as ui]
[frontend.mixins :as mixins]
[goog.dom :as gdom]
[goog.object :as gobj]))
[frontend.handler.project :as project-handler]))
(rum/defcs add-project <
(rum/local "" ::project)

View File

@@ -6,15 +6,10 @@
[frontend.db :as db]
[frontend.components.block :as block]
[frontend.ui :as ui]
[frontend.format :as format]
[frontend.components.content :as content]
[frontend.config :as config]
[frontend.date :as date]
[frontend.components.svg :as svg]
[frontend.components.editor :as editor]
[frontend.handler.page :as page-handler]
[frontend.db-mixins :as db-mixins]
[clojure.set :as set]
[clojure.string :as string]))
(rum/defc references < rum/reactive db-mixins/query

View File

@@ -7,7 +7,6 @@
[frontend.extensions.graph-2d :as graph-2d]
[frontend.components.onboarding :as onboarding]
[frontend.handler.route :as route-handler]
[frontend.handler.editor :as editor-handler]
[frontend.handler.page :as page-handler]
[frontend.state :as state]
[frontend.db :as db]

View File

@@ -2,7 +2,6 @@
(:require [rum.core :as rum]
[frontend.util :as util]
[frontend.handler.route :as route]
[frontend.handler.editor :as editor-handler]
[frontend.handler.page :as page-handler]
[frontend.db :as db]
[frontend.handler.search :as search-handler]
@@ -12,8 +11,6 @@
[frontend.config :as config]
[frontend.search :as search]
[clojure.string :as string]
[goog.crypt.base64 :as b64]
[goog.object :as gobj]
[goog.dom :as gdom]
[frontend.context.i18n :as i18n]))

View File

@@ -10,19 +10,14 @@
[frontend.components.page :as page]
[frontend.components.settings :as settings]
[frontend.components.svg :as svg]
[frontend.components.project :as project]
[frontend.components.repo :as repo]
[frontend.components.commit :as commit]
[frontend.components.right-sidebar :as right-sidebar]
[frontend.storage :as storage]
[goog.crypt.base64 :as b64]
[frontend.util :as util]
[frontend.state :as state]
[frontend.handler.notification :as notification]
[frontend.handler.ui :as ui-handler]
[frontend.handler.user :as user-handler]
[frontend.handler.editor :as editor-handler]
[frontend.handler.repo :as repo-handler]
[frontend.handler.route :as route-handler]
[frontend.handler.export :as export]
[frontend.config :as config]

View File

@@ -2,7 +2,6 @@
(:require [rum.core :as rum]
[frontend.util :as util]
[frontend.handler.user :as user-handler]
[frontend.handler.git :as git-handler]
[frontend.handler.repo :as repo-handler]
[frontend.handler.route :as route-handler]
[frontend.handler.export :as export-handler]
@@ -13,9 +12,7 @@
[frontend.ui :as ui]
[frontend.db :as db]
[frontend.version :as version]
[frontend.components.svg :as svg]
[frontend.components.commit :as commit]
[clojure.set :as set]
[frontend.context.i18n :as i18n]
[reitit.frontend.easy :as rfe]))