mirror of https://github.com/logseq/logseq
fix: lints
parent
097554719e
commit
ce94c56970
|
@ -64,8 +64,7 @@
|
||||||
[promesa.core :as p]
|
[promesa.core :as p]
|
||||||
[rum.core :as rum]
|
[rum.core :as rum]
|
||||||
[frontend.handler.db-based.property :as db-property-handler]
|
[frontend.handler.db-based.property :as db-property-handler]
|
||||||
[frontend.fs.capacitor-fs :as capacitor-fs]
|
[frontend.fs.capacitor-fs :as capacitor-fs]))
|
||||||
[frontend.db.model :as model]))
|
|
||||||
|
|
||||||
;; FIXME: should support multiple images concurrently uploading
|
;; FIXME: should support multiple images concurrently uploading
|
||||||
|
|
||||||
|
|
|
@ -37,12 +37,6 @@
|
||||||
additional-props (gp-whiteboard/with-whiteboard-block-props block page-name)]
|
additional-props (gp-whiteboard/with-whiteboard-block-props block page-name)]
|
||||||
(merge block additional-props)))
|
(merge block additional-props)))
|
||||||
|
|
||||||
(defn- get-whiteboard-clj [page-name]
|
|
||||||
(when (model/page-exists? page-name)
|
|
||||||
(let [page-block (model/get-page page-name)
|
|
||||||
blocks (:block/_page page-block)]
|
|
||||||
[page-block blocks])))
|
|
||||||
|
|
||||||
(defn- build-shapes
|
(defn- build-shapes
|
||||||
[page-block blocks]
|
[page-block blocks]
|
||||||
(let [page-metadata (pu/get-property page-block :logseq.tldraw.page)
|
(let [page-metadata (pu/get-property page-block :logseq.tldraw.page)
|
||||||
|
|
|
@ -11,8 +11,7 @@
|
||||||
[frontend.util :as util]
|
[frontend.util :as util]
|
||||||
[goog.events :as events]
|
[goog.events :as events]
|
||||||
[goog.ui.KeyboardShortcutHandler.EventType :as EventType]
|
[goog.ui.KeyboardShortcutHandler.EventType :as EventType]
|
||||||
[lambdaisland.glogi :as log]
|
[lambdaisland.glogi :as log])
|
||||||
[goog.functions :refer [debounce]])
|
|
||||||
(:import [goog.events KeyCodes KeyNames]
|
(:import [goog.events KeyCodes KeyNames]
|
||||||
[goog.ui KeyboardShortcutHandler]))
|
[goog.ui KeyboardShortcutHandler]))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue