From ca24b238ed2c12f39e699ae16d15f00b0b064795 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 7 Nov 2012 18:52:30 +0000 Subject: add Text interface --- 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 865cbf3d4..5a7de530f 100644 --- a/javascript/jsapi/window.bnd +++ b/javascript/jsapi/window.bnd @@ -130,6 +130,11 @@ api init %{ return NULL; } + user_proto = jsapi_InitClass_Text(cx, prototype); + if (user_proto == NULL) { + return NULL; + } + %} api new %{ -- cgit v1.2.3