i am such an idiot - i just need to use the createWorker method,
instead of the createWorkerFromUrl method!

thanks

On Jun 14, 5:39 am, skunkwerk <[email protected]> wrote:
> thanks Mark,
>    i know that would probably work, but my whole application is
> designed to work offline.  is there no way to get around this
> restriction?  perhaps using LocalStore?
>
> cheers,
> imran
>
> On Jun 13, 6:59 pm, Mark Jarecki <[email protected]> wrote:
>
> > Hey Imran,
>
> > try serving the Workerpool JS file through a web server, not reading  
> > it from disk.
>
> > Cheers
>
> > Mark
>
> > On 14/06/2009, at 10:05 AM, skunkwerk wrote:
>
> > > Hi folks,
> > >    i'm getting this error:
> > > URL scheme 'file' is not supported.
>
> > > when running this line:
> > > var childWorkerId = workerPool.createWorkerFromUrl('scripts/
> > > worker.js');
>
> > > on Firefox 3 with Gears 0.5.21 on Mac OS X
>
> > > the page gears is running on is a local file:
> > > file:///Users/bourbaki/Code/eurisko/index.html
>
> > > questions:
> > > 1)  am i doing something wrong, or is this feature not implemented
> > > yet?  if the latter, could someone point me to the relevant code where
> > > i could fix it?
>
> > > thanks,
> > > imran

Reply via email to