Subj : Re: Updated API ref To : netscape.public.mozilla.jseng From : Jens Thiele Date : Thu Apr 22 2004 01:00 pm Sterling Bates wrote: > Brendan Eich wrote: > >> Just pull mozilla/js/docs from cvs.mozilla.org or >> cvs-mirror.mozilla.org, copy your jsref.xml over the one there, type >> make, and point a browser at the gen/ directory. > > > OK, the generated docs are available at > > http://www.sterlingbates.com/jsref/sparse-frameset.html > > and > > http://www.sterlingbates.com/jsref/complete-frameset.html > > Sterling nice i have a question regerading JS_NewObject: the docu does not mention that the clasp may be NULL (I use this) or will this feature perhaps be removed some time in the fututre? jsapi.c: JS_PUBLIC_API(JSObject *) JS_NewObject(JSContext *cx, JSClass *clasp, JSObject *proto, JSObject *parent) { CHECK_REQUEST(cx); if (!clasp) clasp = &js_ObjectClass; /* default class is Object */ return js_NewObject(cx, clasp, proto, parent); } .