From 2bea506f837c9a1e9c12c448eb206e067770819c Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 14 Nov 2012 02:11:01 +0000 Subject: add Node interface binding just to get the prototype --- javascript/jsapi/window.bnd | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'javascript/jsapi/window.bnd') diff --git a/javascript/jsapi/window.bnd b/javascript/jsapi/window.bnd index 45541faec..767b94f1b 100644 --- a/javascript/jsapi/window.bnd +++ b/javascript/jsapi/window.bnd @@ -135,6 +135,11 @@ api init %{ return NULL; } + user_proto = jsapi_InitClass_Node(cx, prototype); + if (user_proto == NULL) { + return NULL; + } + %} api new %{ -- cgit v1.2.3