Skip to content

Conversation

@trentmwillis
Copy link

Thanks for this library! I'd like to use it for a project that is using Web Workers. However, currently, it throws an error when it is loaded due to a reference to window, which isn't available in a Web Worker. Replacing this with self, which is available in both the main browser thread and Web Workers, fixes the issue and the library works perfectly!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant