We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9510d0a commit f7f8375Copy full SHA for f7f8375
src/main/clojure/cljs/core.cljc
@@ -870,7 +870,7 @@
870
871
(core/defmacro js-comment
872
"Emit a top-level JavaScript multi-line comment. New lines will create a
873
- new comment line. Comment block will be preceded by a newline."
+ new comment line. Comment block will be preceded and followed by a newline"
874
[comment]
875
(core/let [[x & ys] (string/split comment #"\n")]
876
(core/list 'js*
@@ -880,7 +880,7 @@
880
(core/->> ys
881
(map #(core/str " * " (string/replace % #"^ " "") "\n"))
882
(reduce core/str ""))
883
- " */"))))
+ " */\n"))))
884
885
(core/defmacro unsafe-cast
886
"EXPERIMENTAL: Subject to change. Unsafely cast a value to a different type."
0 commit comments