mirror of
https://github.com/logseq/logseq.git
synced 2026-05-04 19:06:21 +00:00
enhance(plugin): support custom routes from the plugin sdk
This commit is contained in:
@@ -69,7 +69,12 @@
|
||||
#?(:cljs (def string-join-path common-util/string-join-path))
|
||||
|
||||
#?(:cljs
|
||||
(def safe-re-find common-util/safe-re-find))
|
||||
(do
|
||||
(def safe-re-find common-util/safe-re-find)
|
||||
(defn safe-keyword
|
||||
[s]
|
||||
(when (string? s)
|
||||
(keyword (string/replace s " " "_"))))))
|
||||
|
||||
#?(:cljs
|
||||
(do
|
||||
|
||||
Reference in New Issue
Block a user