mozdev.org

JSLib
Page Updated: September 08, 2005
Latest Version: 0.1.375
Debug | Install | File I/O | RDF | Network | Sound | Utils | XUL | Zip
Home | Mailing List | Install | Source Code | Downloads | Bugs | docs | clients
Last Modified:
Status: in flux

JSLIB Code Template


Use this template to write a jsLib library

if (typeof(JS_LIB_LOADED) == 'boolean') { const JS_MYLIB_LOADED = true; const JS_MYLIB_FILE = 'myLib.js'; function MyLib () { } MyLib.prototype = { mFoo : null, mBar : null, fuBar : function () { return JS_LIB_OK; } } jslibLoadMsg(JS_MYLIB_FILE); } else { dump("load FAILURE: myLib.js\n"); }

The jslib project can be contacted through the mailing list or the member list.
Copyright © 2000-2017. All rights reserved. Terms of Use & Privacy Policy.