don't duplicate html on updates

This commit is contained in:
Leo Horie 2016-07-30 15:46:14 -04:00
parent 9bd0cd73fc
commit f4b267ff39
3 changed files with 6 additions and 5 deletions

View file

@ -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() {