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

Add check to avoid errors when required in node #100

Closed
wants to merge 1 commit into from
Closed

Add check to avoid errors when required in node #100

wants to merge 1 commit into from

Conversation

AlexMeah
Copy link

This allows the module to be required in none DOM environments, such as those using webpack as mentioned in #98.

I wasn't sure how to test this, happy to write some if you have any pointers.

@rstacruz
Copy link

rstacruz commented Oct 5, 2016

-1 on this one; the isomorphic way would be to have a browser field in package.json.

@AlexMeah AlexMeah closed this Nov 11, 2016
@AlexMeah AlexMeah deleted the isomorphic-check branch November 11, 2016 15:33
@AustinHunt
Copy link

Is scriptjs now isomorphic?

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