mirror of
https://github.com/logseq/logseq.git
synced 2026-05-02 01:46:35 +00:00
Fix frontend code breaking a deps library again
Please run `yarn test` in a dep to ensure it still works /cc
@tiensonqin. See 84b80e8b76 for previous
examples
This commit is contained in:
@@ -5,7 +5,8 @@
|
||||
["/frontend/extensions/pdf/utils" :as js-utils]
|
||||
[datascript.core :as d]
|
||||
[logseq.publishing.db :as publish-db]
|
||||
[clojure.string :as string]))
|
||||
[clojure.string :as string]
|
||||
[frontend.handler.property.util :as pu]))
|
||||
|
||||
(defonce MAX-SCALE 5.0)
|
||||
(defonce MIN-SCALE 0.25)
|
||||
@@ -15,7 +16,8 @@
|
||||
[filename]
|
||||
(and filename (string? filename) (string/starts-with? filename "hls__")))
|
||||
|
||||
(def get-area-block-asset-url publish-db/get-area-block-asset-url)
|
||||
(def get-area-block-asset-url
|
||||
#(publish-db/get-area-block-asset-url %1 %2 {:prop-lookup-fn pu/lookup}))
|
||||
|
||||
(defn get-bounding-rect
|
||||
[rects]
|
||||
|
||||
Reference in New Issue
Block a user