From 3d7de6cf8d67bd7761a907cb171d8a4af8088a08 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sun, 9 Aug 2015 16:20:09 +0100 Subject: Fix window.window --- javascript/duktape/Window.bnd | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'javascript') 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 -- cgit v1.2.3