[Jslib] /content/ 404
Andy Edmonds
andy.edmonds@vuinteractive.com
Thu, 25 Apr 2002 14:57:33 -0700
The latest installer doesn't use a content directory. Rather all the files
appear to be in /chrome/jslib/module_name_folder.
This makes the docs on http://jslib.mozdev.org/installation.html a bit out
of date, as they suggest the presence of a content directory:
To use from a xul page:
<script type="application/x-javascript"
src="chrome://jslib/content/jslib.js" />
This only loads in a minimal amount of code.
After you reference this on top of your scripts, then point to a jslib file
from you script like so:
include('chrome://jslib/content/io/file.js');