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

added check for module as well as require for node environment #23

Merged
merged 1 commit into from
Nov 22, 2013

Conversation

phola
Copy link
Contributor

@phola phola commented Nov 22, 2013

Hi - thanks for the work on this, it's been a life saver for me this week! Hope this is useful:

When using requireJS in the browser, it attempts to load modules defined
by require(). Not sure if these can be configured to load in browser too
but quick fix is just to add extra check to ensure node environment.

When using requireJS in the browser, it attempts to load modules defined
by require(). Not sure if these can be configured to load in browser too
but quick fix is just to add extra check to ensure node environment.
redchair123 added a commit that referenced this pull request Nov 22, 2013
added check for module as well as require for node environment
@redchair123 redchair123 merged commit b55584d into SheetJS:master Nov 22, 2013
@redchair123
Copy link
Contributor

looks good! Can you also take a gander at https://github.com/SheetJS/js-xlsx and see if similar changes should be made there?

SheetJSDev added a commit that referenced this pull request Dec 6, 2013
added check for module as well as require for node environment
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