don't duplicate html on updates
This commit is contained in:
parent
9bd0cd73fc
commit
f4b267ff39
3 changed files with 6 additions and 5 deletions
|
|
@ -20,6 +20,7 @@ o.spec("updateHTML", function() {
|
|||
render(root, [updated])
|
||||
|
||||
o(updated.dom).equals(root.firstChild)
|
||||
o(updated.domSize).equals(1)
|
||||
o(updated.dom.nodeValue).equals("b")
|
||||
})
|
||||
o("adds html", function() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue