[Jslib] Win32

Pete Collins pete at mozdevgroup.com
Wed Mar 7 07:14:02 PST 2007

Daniel Aquino wrote:

> Yes I meant to say that it's not working in win32...
> I'm actually developing a XulRunner application,
> And unzipping jslib into my application folder worked perfectly on linux,
> But in win32 it's not...
> I'm getting "jslib not defined"...
> Any ideas?

The jslib component that implements "jslib" top level DOM object is 
probably not working in XUL runner.

eg: if you do this:


and it is undefined, then try including jsLib base as a chrome url in 
your xul file.


  <script type="application/x-javascript" 
src="chrome://jslib/content/jslib.js" />

It should work fine from there ...


Pete Collins - Founder, Mozdev Group Inc.
Mozilla Software Development Solutions
tel: 1-719-302-5811
fax: 1-719-302-5813

More information about the Jslib mailing list