Merge branch 'rewrite' into array-isArray
This commit is contained in:
commit
deaabb2684
5 changed files with 98 additions and 44 deletions
|
|
@ -347,7 +347,7 @@ module.exports = function($window) {
|
|||
var content = children[0].children
|
||||
if (vnode.dom.innerHTML !== content) vnode.dom.innerHTML = content
|
||||
}
|
||||
else if (children != null || vnode.text != null) throw new Error("Child node of a contenteditable must be trusted")
|
||||
else if (vnode.text != null || children != null && children.length !== 0) throw new Error("Child node of a contenteditable must be trusted")
|
||||
}
|
||||
|
||||
//remove
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue