Skip to content

Commit 966234e

Browse files
committed
Convert keyword to string
1 parent 534feb8 commit 966234e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/applied_science/js_interop.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
`(clojure.core/let ~@body))
1717

1818
(defmacro call-in [obj path & fs]
19-
`(.. ~obj ~@(map #(symbol (str "-" %)) path) ~@(map list fs)))
19+
`(.. ~obj ~@(map #(symbol (str "-" (name %))) path) ~@(map list fs)))
2020

2121
(defmacro call [obj f & args]
2222
(list* (symbol (str "." (name f))) obj args))

0 commit comments

Comments
 (0)