add global api to window binding

This commit is contained in:
Vincent Sanders 2012-11-03 13:52:13 +00:00
parent 19a50699e2
commit 45d508487a
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@ binding window {
internal "JSObject *" location;
}
api global %{
%}
api init %{
JSObject *user_proto;