mirror of
https://github.com/tonsky/rum.git
synced 2025-08-03 18:13:19 +08:00
fixes #235
This commit is contained in:
@ -55,8 +55,11 @@
|
||||
(defn fragment-tag?
|
||||
"Returns true if `tag` is the fragment tag \"*\" or \"<>\", otherwise false."
|
||||
[tag]
|
||||
(or (= (name tag) "*")
|
||||
(= (name tag) "<>")))
|
||||
(and (or (keyword? tag)
|
||||
(symbol? tag)
|
||||
(string? tag))
|
||||
(or (= (name tag) "*")
|
||||
(= (name tag) "<>"))))
|
||||
|
||||
(defn fragment? [v]
|
||||
(and (vector? v)
|
||||
|
Reference in New Issue
Block a user