Correctly refer to regex type in CLJS.
Before it thought the type was com.rpl.specter/RegExp - but it's actually js/RegExp.
This commit is contained in:
parent
14dad51fd4
commit
0e88c57a87
1 changed files with 1 additions and 1 deletions
|
|
@ -1170,7 +1170,7 @@
|
||||||
ImplicitNav
|
ImplicitNav
|
||||||
(implicit-nav [this] (pred this)))
|
(implicit-nav [this] (pred this)))
|
||||||
|
|
||||||
(extend-type #?(:clj java.util.regex.Pattern :cljs RegExp)
|
(extend-type #?(:clj java.util.regex.Pattern :cljs js/RegExp)
|
||||||
ImplicitNav
|
ImplicitNav
|
||||||
(implicit-nav [this] (n/regex* this)))
|
(implicit-nav [this] (n/regex* this)))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue