Fix window.window

This commit is contained in:
Daniel Silverstone 2015-08-09 16:20:09 +01:00
parent da77e9c91c
commit 3d7de6cf8d

View File

@ -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;
%}
%}