Skip to content

fix 'window is not defined' error in node #188

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

Merged
merged 1 commit into from
Oct 29, 2016
Merged

Conversation

doronpr
Copy link
Contributor

@doronpr doronpr commented Oct 28, 2016

This PR fixes a ReferenceError: window is not defined error which is thrown when running outside of a browser (e.g. node).

This broke in b708f56

@andypham
Copy link

LGTM. Thanks.

@codecov-io
Copy link

Current coverage is 8.80% (diff: 100%)

Merging #188 into master will not change coverage

@@            master      #188   diff @@
========================================
  Files            5         5          
  Lines          125       125          
  Methods          0         0          
  Messages         0         0          
  Branches         0         0          
========================================
  Hits            11        11          
  Misses         114       114          
  Partials         0         0          

Powered by Codecov. Last update 853b5d2...484df44

@char1e5 char1e5 mentioned this pull request Oct 29, 2016
@imevro imevro merged commit fa73b41 into LogRocket:master Oct 29, 2016
@imevro
Copy link
Collaborator

imevro commented Oct 29, 2016

Thank you and sorry for that problems

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.

4 participants