[Jslib] Re: file urls in File.js
basic
_basic@yahoo.com
Tue, 29 Jan 2002 05:21:38 +0800
you mean they used to work? Hmm, I don't see any indication in the code that it
ever worked...
basic
Eric Plaster wrote:
>
> Do file urls not work anymore in File.js? I.e. file:///tmp/bob.rdf vs.
> /tmp/bob.rdf.
>
> js> var tmp = new File('/tmp/bob.rdf');
> js> tmp.exists()
> *true*
> js> tmp = new File('file:///tmp/bob.rdf');
> *[object Object]*
> js> tmp.exists();
> *false*
>
> --
> ------------------------------------------------------------------------
> Eric Plaster
> Urban Rage Software <http://www.urbanrage.com>
> Senior Software Engineer
> RPG tools project
> rpgtools@mozdev.org
> http://rpgtools.mozdev.org
>
> */ AD&D tools for the player and the DM/*
>