Skip to content

Conversation

40818419
Copy link
Contributor

fixing #15

@jsnanigans
Copy link
Owner

Thank you! Its great to get some help with this 👍

@jsnanigans jsnanigans merged commit 5a6ee81 into jsnanigans:master Jul 23, 2018
@jsnanigans
Copy link
Owner

the fix is live on npm: v0.1.3

global.window = null
}

if (typeof document === 'undefined') {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the point for mutating the global variable to null when they're undefined?

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.

3 participants