We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c83c62 commit 11e8bfeCopy full SHA for 11e8bfe
samples/twitterbuzz/src/twitterbuzz/dom-helpers.cljs
@@ -31,7 +31,7 @@
31
(doto e (dom/setTextContent s))))
32
33
(defn normalize-args [tag args]
34
- (let [parts (string/split tag #"(\.|#)")
+ (let [parts (string/split (name tag) #"(\.|#)")
35
[tag attrs] [(first parts)
36
(apply hash-map (map #(cond (= % ".") :class
37
(= % "#") :id
0 commit comments