text: "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}
  }
  Vnode.normalize = function(node) {
  	if (Array.isArray(node)) return Vnode("[", undefined, undefined, Vnode.normalizeChildren(node), undefined, undefined)
  	if (node != null && typeof node !== "object") return Vnode("#", undefined, undefined, node === false ? "" : node, undefined, undefined)
  	return node
  }
  Vnode.normalizeChildren = function(input) {
  	var children = []
  	for (var i = 0; i < input.length; i++) {
  		children[i] = Vnode.normalize(input[i])
  	}
  	return children
  }
  
  module.exports = Vnode
  