diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-02-05 11:27:45 +0000 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2017-02-05 12:39:46 +0000 |
commit | 8e9751d3b6cd555119ca195e6751c2675beb3b7d (patch) | |
tree | a8a675b3f385fea9ada997edc438102aa7ba2198 /content/handlers/javascript/duktape/Node.bnd | |
parent | 2858aec1c2bf32d0793cbafff6849cf91625b31b (diff) | |
download | netsurf-8e9751d3b6cd555119ca195e6751c2675beb3b7d.tar.gz netsurf-8e9751d3b6cd555119ca195e6751c2675beb3b7d.tar.bz2 |
Add EventTarget binding
This adds the binding for EventTarget along with implementations for
addEventListener() removeEventListener() and dispatchEvent()
Diffstat (limited to 'content/handlers/javascript/duktape/Node.bnd')
-rw-r--r-- | content/handlers/javascript/duktape/Node.bnd | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/content/handlers/javascript/duktape/Node.bnd b/content/handlers/javascript/duktape/Node.bnd index f237c876a..f14cfc177 100644 --- a/content/handlers/javascript/duktape/Node.bnd +++ b/content/handlers/javascript/duktape/Node.bnd @@ -16,6 +16,7 @@ init Node(struct dom_node *node) %{ priv->node = node; dom_node_ref(node); + priv->parent.is_node = true; %} fini Node() |