diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-05-02 23:05:29 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2019-05-02 23:05:29 +0100 |
commit | c7f58c742de14f20b48ad32b023d478283995521 (patch) | |
tree | 3e23d8db5871518c46f79928a210bd4dd8622a73 /src/options.h | |
parent | 9656f1ff87136263d44a54a4e3081ac92ad3b699 (diff) | |
download | nsgenbind-c7f58c742de14f20b48ad32b023d478283995521.tar.gz nsgenbind-c7f58c742de14f20b48ad32b023d478283995521.tar.bz2 |
duk-libdom: Use PrimaryGlobal for Window to change method private
In order to support methods on `Window` being called via the global
object (which does not set `this`) we notice that the interface
we are generating the private data fetcher for as being the
global one, and use `duk_push_global_object` rather than `duk_push_this`.
Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
Diffstat (limited to 'src/options.h')
0 files changed, 0 insertions, 0 deletions