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

Fix typeof check in isBrowser function #1074

Merged
merged 1 commit into from Dec 23, 2016

Conversation

mikkom
Copy link
Contributor

@mikkom mikkom commented Dec 21, 2016

This change fixes a small issue with the isBrowser check. Rather than checking for undefined we should check for the string 'undefined', as the typeof operator always returns a string indicating the type of the operand.

@javivelasco javivelasco merged commit ea3a344 into react-toolbox:css-next Dec 23, 2016
@javivelasco
Copy link
Member

Thanks!

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.

None yet

2 participants