diff options
-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 |