diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-11-13 08:16:12 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-11-13 08:16:52 +0100 |
commit | b2128609ac8159a14224deba399144b3400c8c20 (patch) | |
tree | 4759dfda67c54f6838c3aef0951545ae18bb83bd /thirdparty/preact/src/clone-element.js | |
parent | 3f0ee289c4a61991d0e75906a9bd949cebb39d20 (diff) |
Finally give in and use React, minor tweeks.
Preact (a minimalistic React alternative) had too many bugs ...
Diffstat (limited to 'thirdparty/preact/src/clone-element.js')
-rw-r--r-- | thirdparty/preact/src/clone-element.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/thirdparty/preact/src/clone-element.js b/thirdparty/preact/src/clone-element.js deleted file mode 100644 index fc7103056..000000000 --- a/thirdparty/preact/src/clone-element.js +++ /dev/null @@ -1,10 +0,0 @@ -import { clone, extend } from './util'; -import { h } from './h'; - -export function cloneElement(vnode, props) { - return h( - vnode.nodeName, - extend(clone(vnode.attributes), props), - arguments.length>2 ? [].slice.call(arguments, 2) : vnode.children - ); -} |