From 0e88c57a873f221649fc549d642e4b9f1dc961a3 Mon Sep 17 00:00:00 2001 From: Michael Fogleman Date: Thu, 19 Oct 2017 11:17:28 -0400 Subject: [PATCH] Correctly refer to regex type in CLJS. Before it thought the type was com.rpl.specter/RegExp - but it's actually js/RegExp. --- src/clj/com/rpl/specter.cljc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/clj/com/rpl/specter.cljc b/src/clj/com/rpl/specter.cljc index 2a1a931..0339c1f 100644 --- a/src/clj/com/rpl/specter.cljc +++ b/src/clj/com/rpl/specter.cljc @@ -1170,7 +1170,7 @@ ImplicitNav (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 (implicit-nav [this] (n/regex* this)))