diff options
Diffstat (limited to 'thirdparty/preact/src/vnode.js')
-rw-r--r-- | thirdparty/preact/src/vnode.js | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/thirdparty/preact/src/vnode.js b/thirdparty/preact/src/vnode.js deleted file mode 100644 index 1c3f10e3d..000000000 --- a/thirdparty/preact/src/vnode.js +++ /dev/null @@ -1,14 +0,0 @@ -/** Virtual DOM Node */ -export function VNode(nodeName, attributes, children) { - /** @type {string|function} */ - this.nodeName = nodeName; - - /** @type {object<string>|undefined} */ - this.attributes = attributes; - - /** @type {array<VNode>|undefined} */ - this.children = children; - - /** Reference to the given key. */ - this.key = attributes && attributes.key; -} |