Skip to content

Conversation

@carloscortonc
Copy link

Replaces window.x with globalThis.x so it works on web-workers, were window is not defined

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#description

Reported here: #18

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