We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
as the title when i depend on crypto-js in worker. What should I do? use importScripts?
The text was updated successfully, but these errors were encountered:
@israelss yeah. Is importScripts supported on this library? @npm-ued try referencing it inside self in the worker function.
self
Sorry, something went wrong.
It seems like importScripts is not supported ;(
importScripts
I try this code inside worker function:
importScripts('scripts/lib.js') self.importScripts('scripts/lib.js')
and I get Uncaught SyntaxError: Failed to execute 'importScripts' on 'WorkerGlobalScope'
Uncaught SyntaxError: Failed to execute 'importScripts' on 'WorkerGlobalScope'
No branches or pull requests
as the title
when i depend on crypto-js in worker. What should I do?
use importScripts?
The text was updated successfully, but these errors were encountered: