Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 10, 2021. It is now read-only.

Commit48fbf7f

Browse files
committed
Add missing require ofclojure.string,fixes#16
1 parent5ed0980 commit48fbf7f

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎src/rewrite_clj/parser/string.cljs‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
(nsrewrite-clj.parser.string
22
(:require [rewrite-clj.node:as node]
33
[rewrite-clj.reader:as r]
4-
[goog.string:as gstring]))
4+
[goog.string:as gstring]
5+
[clojure.string:as string]))
56

67
(defn-flush-into
78
"Flush buffer and add string to the given vector."
@@ -36,5 +37,5 @@
3637
(defnparse-regex
3738
[^not-native reader]
3839
(let [lines (read-string-data reader)
39-
regex (clojure.string/join"\n" lines)]
40+
regex (string/join"\n" lines)]
4041
(node/token-node (re-pattern regex) (str"#\"" regex"\""))))

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp