[Jslib] 'include' isn't known in FF for me
brian at mozdev.org
Thu Sep 16 12:54:57 EDT 2004
On 16.9.2004 2:24, Frank Burleigh wrote:
> Hello. I've just come across jslib and have high hopes of using it in
> my first, very simple moz app. I'm working with fox:
> Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20040913
> with jslib installed just today. I can get the splash screen without a
> problem. The bit of my xul that I think matters looks like below. The
> JS console says 'include' is unknown, so I'm guessing that my install
> may look correct, but isn't really.
> Advice much appreciated.
> PS: I've also tried shorthand versions of include; fox just doesn't
> understand 'include' right now. ;-)
> src="chrome://jslib/content/jslib.js" />
> include ('chrome://jslib/content/io/file.js');
> var f=new File( "/temp.txt" );
What version of jslib does it say on the splash?
Does jslib appear in the Extension Manager?
www.mozdev.org - free project hosting for the mozilla community
More information about the Jslib