mirror of
https://github.com/metosin/reitit.git
synced 2026-01-03 06:58:25 +00:00
Do not use cljs.string/replace-all, it's private
The 1.10.439 release of compiler complains about it. Fixes #169.
This commit is contained in:
parent
010211f7ec
commit
65886c190f
2 changed files with 2 additions and 2 deletions
|
|
@ -82,7 +82,7 @@
|
|||
;; TODO: is this correct?
|
||||
(defn- re-quote [x]
|
||||
#?(:clj (Pattern/quote x)
|
||||
:cljs (str/replace-all x #"([.?*+^$[\\]\\\\(){}|-])" "\\$1")))
|
||||
:cljs (str/replace x #"([.?*+^$[\\]\\\\(){}|-])" "\\$1")))
|
||||
|
||||
(defn- path-regex [{:keys [path-parts path-constraints] :as route}]
|
||||
(let [[pp & pps] path-parts
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@
|
|||
"modules/reitit-sieppari/src"]
|
||||
|
||||
:dependencies [[org.clojure/clojure "1.9.0"]
|
||||
[org.clojure/clojurescript "1.10.339"]
|
||||
[org.clojure/clojurescript "1.10.439"]
|
||||
|
||||
;; modules dependencies
|
||||
[metosin/reitit]
|
||||
|
|
|
|||
Loading…
Reference in a new issue