Skip to content

Commit 11e8bfe

Browse files
author
Brenton Ashworth
committed
Convert keywords to strings before splitting.
1 parent 3c83c62 commit 11e8bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/twitterbuzz/src/twitterbuzz/dom-helpers.cljs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
(doto e (dom/setTextContent s))))
3232

3333
(defn normalize-args [tag args]
34-
(let [parts (string/split tag #"(\.|#)")
34+
(let [parts (string/split (name tag) #"(\.|#)")
3535
[tag attrs] [(first parts)
3636
(apply hash-map (map #(cond (= % ".") :class
3737
(= % "#") :id

0 commit comments

Comments
 (0)