[render/render] get rid of vnode.skip

This commit is contained in:
Pierre-Yves Gérardy 2018-05-21 01:28:09 +02:00 committed by Pierre-Yves Gérardy
parent e3b240032a
commit 144ce68192
2 changed files with 6 additions and 9 deletions

View file

@ -1,7 +1,7 @@
"use strict"
function Vnode(tag, key, attrs, children, text, dom) {
return {tag: tag, key: key, attrs: attrs, children: children, text: text, dom: dom, domSize: undefined, state: undefined, events: undefined, instance: undefined, skip: false}
return {tag: tag, key: key, attrs: attrs, children: children, text: text, dom: dom, domSize: undefined, state: undefined, events: undefined, instance: undefined}
}
Vnode.normalize = function(node) {
if (Array.isArray(node)) return Vnode("[", undefined, undefined, Vnode.normalizeChildren(node), undefined, undefined)