[Jslib] jslib include
Eric Plaster
plaster@urbanrage.com
Mon, 17 Sep 2001 00:06:05 -0500
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<br>Ok, maybe I'm just blind, but I seem to have run into an error that
I can't figure out. Pete, could you help me out? I'm getting
the following error:
<br>
<p>-----======[ ERROR ]=====-----
<br>ERROR: in jslib.js: include <A HREF="file:///home/plaster/mozilla/dist/bin/chrome/dndtools/spellviewer/plugins/phb.js">file:///home/plaster/mozilla/dist/bin/chrome/dndtools/spellviewer/plugins/phb.js</A>
is not a valid path or is already loaded
<br>Name:
SyntaxError
<br>Message:
missing name after . operator
<br>Result:
<br>Location:
<br>NS_ERROR_NUMBER: NS_ERROR_INVALID_ARG
<br>------------------------------
<p>If I do a "ls -l " of the path its there and permisions are correct.
The code:
<p>var list = importdir.readDir();
<br>for( var i=0; i < list.length; i++ ) {
<br> include(list[i].URL);
<br>}
<pre>--
----
Eric Plaster Urban Rage Software
Senior Software Engineer (612)555-5555
plaster@urbanrage.com <A HREF="http://www.urbanrage.com">http://www.urbanrage.com</A></pre>
</html>