You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because the module code is run within an iframe where Wombat is active, attempts to create a new Worker() using module code will fail because Wombat will rewrite the file location, thinking it's referencing a collection-specific archive resource as opposed to a static file.
The text was updated successfully, but these errors were encountered:
One workaround I've found for this is to convert the worker function into a Blob, and generate a URL for it--that way, Wombat won't rewrite the URL in the same way. The implementation can be seen in #8.
As seen in ec2b7ce:
Because the module code is run within an
iframe
where Wombat is active, attempts to create a newWorker()
using module code will fail because Wombat will rewrite the file location, thinking it's referencing a collection-specific archive resource as opposed to a static file.The text was updated successfully, but these errors were encountered: