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 upweb workers #11
Comments
This comment has been minimized.
This comment has been minimized.
|
For web workers, I would just add this to the top of the file:
I'm hesitant to do this by default because then we lose the protection of checking for accidental use of |
This comment has been minimized.
This comment has been minimized.
|
Closing this now, since adding a comment is a pretty nice solution :) |
feross
closed this
Jan 30, 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.
calvinmetcalf commentedJan 28, 2015
the global variable in a web worker is named self, so renaming this to self in a worker can be tricky if you then need to grab a reference to the global, does this assume it's always in a browserify context?