diff options
author | Daniel Silverstone <dsilvers@digital-scurf.org> | 2015-08-09 16:20:09 +0100 |
---|---|---|
committer | Daniel Silverstone <dsilvers@digital-scurf.org> | 2015-08-09 16:20:09 +0100 |
commit | 3d7de6cf8d67bd7761a907cb171d8a4af8088a08 (patch) | |
tree | 3b812bdf618df02bd4ef0bfde19ba9f9085a2ed3 /javascript/duktape/Window.bnd | |
parent | da77e9c91c555c66fc669bd9ac7fba60c2b06e8c (diff) | |
download | netsurf-3d7de6cf8d67bd7761a907cb171d8a4af8088a08.tar.gz netsurf-3d7de6cf8d67bd7761a907cb171d8a4af8088a08.tar.bz2 |
Fix window.window
Diffstat (limited to 'javascript/duktape/Window.bnd')
-rw-r--r-- | javascript/duktape/Window.bnd | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/javascript/duktape/Window.bnd b/javascript/duktape/Window.bnd index 2223ae88d..95b55b2e2 100644 --- a/javascript/duktape/Window.bnd +++ b/javascript/duktape/Window.bnd @@ -44,9 +44,8 @@ getter Window::document() return 1; %} - -getter Window::document() +getter Window::window() %{ - duk_dup(ctx, 0); + duk_push_this(ctx); return 1; -%} +%}
\ No newline at end of file |