Skip to content

Conversation

Moses-Bejon
Copy link

Added code to check if global is undefined (we're probably in a browser environment if this is the case) and if so switches it to window

Added code to check if global is undefined (we're probably in a browser environment if this is the case) and if so switches it to window
Made sure that if global wasn't defined (which it wouldn't be outside a node environment) it gets cast to window (which would be available in a browser environment
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