Good morning all.
I have a CPU-intensive data operation that I'm trying to spread across
multiple CPUs in TiddlyWiki using a Web Worker
(https://developer.mozilla.org/en-US/docs/Web/API/Worker)
I have created a server-side library module and a client-side library
module. The client-side constructor of the worker is supposed to contain a
URL to the server library
var w = new Worker("$:/core/modules/libraries/webworker-server.js");
However, this generates an error "Security Error: Content at
file:///home/james/Desktop/Crunchy%20RPG/experiment.html may not load data
from
file:///home/james/Desktop/Crunchy%20RPG/$:/core/modules/libraries/webworker-server.js."
Not sure how to reference the server library internal to the TiddlyWiki.
This works fine for require(..)
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/42012524-12ed-4063-9fd1-d4ec2878a195n%40googlegroups.com.