Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upimportScripts incorrectly reported #75
Comments
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
This edge case is documented in the readme now: https://github.com/feross/standard#what-about-web-workers The recommendation is to just add a comment to the top of your worker: /* global self, importScripts */ |
feross
closed this
Apr 2, 2015
lock
bot
locked as resolved and limited conversation to collaborators
May 11, 2018
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
JakeChampion commentedMar 22, 2015
If you run this file through
standard, it returnsworker.js:2:0: 'importScripts' is not defined.importScriptsis a valid function in a worker context and as such, shouldn't error.