Skip to content

Conversation

@TheBITLINK
Copy link

This probably fixes #2

else if(typeof window !== 'undefined')
{
// Set a global variable for browsers
window.numberZero = 0;

Choose a reason for hiding this comment

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

Nitpick: Not sure about frontend JS conventions, but shouldn't this be NUMBER_ZERO?

@XVincentX
Copy link
Contributor

I would vote for an UMD module instead of rolling you own detection system.

@scarfunk
Copy link
Owner

im not sure this.
merge or not.

@XVincentX
Copy link
Contributor

@scarfunk We can have a more professional way to accomplish this.

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.

Doesn't work in browser!

4 participants