Skip to content

Commit 5f2d0a0

Browse files
committed
add public cljs.compiler.api/munge
1 parent 2248baf commit 5f2d0a0

File tree

1 file changed

+5
-0
lines changed
  • src/main/clojure/cljs/compiler

1 file changed

+5
-0
lines changed

src/main/clojure/cljs/compiler/api.clj

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
;; =============================================================================
1818
;; Main API
1919

20+
(defn munge
21+
"Munge a symbol or string. Preserves the original type."
22+
[s]
23+
(comp/munge s))
24+
2025
(defn emit
2126
"Given an AST node generated by the analyzer emit JavaScript as a string."
2227
([ast]

0 commit comments

Comments
 (0)