don't handle non-virtual-element objects
This commit is contained in:
parent
a7a9447cd6
commit
ca6f3207b5
1 changed files with 1 additions and 0 deletions
|
|
@ -59,6 +59,7 @@ new function(window) {
|
|||
}
|
||||
}
|
||||
else if (dataType == "[object Object]") {
|
||||
if (typeof data.tag != "string") return
|
||||
if (data.tag != cached.tag || Object.keys(data.attrs).join() != Object.keys(cached.attrs).join()) clear(cached.nodes)
|
||||
|
||||
var node, isNew = cached.nodes.length === 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue