Empty attributes. Fixes #971
This commit is contained in:
parent
791c94a0b1
commit
ea946f1a0e
3 changed files with 6 additions and 1 deletions
|
|
@ -11,6 +11,7 @@
|
|||
test(function () { return m(".foo").attrs.className === "foo" })
|
||||
test(function () { return m("[title=bar]").tag === "div" })
|
||||
test(function () { return m("[title=bar]").attrs.title === "bar" })
|
||||
test(function () { return m("[empty]").attrs.empty === "" })
|
||||
test(function () { return m("[title=\'bar\']").attrs.title === "bar" })
|
||||
test(function () { return m("[title=\"bar\"]").attrs.title === "bar" })
|
||||
test(function () { return m("div", "test").children[0] === "test" })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue