aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/preact/src/vnode.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-11-13 08:16:12 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-11-13 08:16:52 +0100
commitb2128609ac8159a14224deba399144b3400c8c20 (patch)
tree4759dfda67c54f6838c3aef0951545ae18bb83bd /thirdparty/preact/src/vnode.js
parent3f0ee289c4a61991d0e75906a9bd949cebb39d20 (diff)
Finally give in and use React, minor tweeks.
Preact (a minimalistic React alternative) had too many bugs ...
Diffstat (limited to 'thirdparty/preact/src/vnode.js')
-rw-r--r--thirdparty/preact/src/vnode.js14
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;
-}