[Project_owners] jslib

Pete Collins pete at mozdev.org
Mon Dec 22 11:35:00 EST 2003


Biju G C wrote:
> Just to confirm.
> How do I make ALL jslib rdf classes avilable to my extension.
> 
> is it only
> 
> <script type="application/x-javascript" src="chrome://jslib/content/jslib.js" />
> <script> include (jslib_rdf); </script>

Yes, there is a problem. It *should* be:

   include (jslib_rdf);


but it's not.

For now, you will need to include all files.

include (jslib_rdf);
include (jslib_rdffile);
include (jslib_rdfcontainer);
include (slib_rdfresource);


this is a bug. rdf.js should be the module include file that includes 
all files in the module like io.js does


> PS: 
> jslib team, 
> at http://jslib.mozdev.org/docs.html there is ";" after
> <script type="application/x-javascript" src="chrome://jslib/content/jslib.js" />
> in the example

Fixed.


-- 
Pete Collins
www.mozdev.org
www.mozdevgroup.com



More information about the Project_owners mailing list