Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check if window exists before window.Gator = Gator #22

Open
rubennorte opened this issue Mar 28, 2015 · 1 comment
Open

Check if window exists before window.Gator = Gator #22

rubennorte opened this issue Mar 28, 2015 · 1 comment

Comments

@rubennorte
Copy link

That is the only thing in the whole file that makes this package not to work in Node.js. If you check if window exists before assigning the variable, we would be able to use it with a DOM implementation for Node.

@jasonkarns
Copy link

Agree. This package needs UMD export

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

No branches or pull requests

2 participants