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

Reference the require function as module.require #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Reference the require function as module.require #19

wants to merge 1 commit into from

Conversation

fb55
Copy link

@fb55 fb55 commented Aug 21, 2013

@terinjokes
Copy link

How similar is this to #73?

@tellnes
Copy link

tellnes commented Jun 8, 2016

@terinjokes This is not the same as #73. The problem that #73 fixes is to expose the global require function before any module code is executed. This pr makes that function available inside module code.

@montamal
Copy link

Many thanks to @fb55, seems like this is still an issue for some people, including me.

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.

module.require isn't present
4 participants