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

Transport/D + injects: module.exports === undefined #4

Open
akidee opened this issue May 8, 2011 · 1 comment
Open

Transport/D + injects: module.exports === undefined #4

akidee opened this issue May 8, 2011 · 1 comment

Comments

@akidee
Copy link

akidee commented May 8, 2011

Some libraries (example: underscore) are using checks whether module.exports is defined, but when I define a module with Transport/D and injects. module and exports are defined but module.exports (=== exports) is not.

require.def({ name: { injects: [ 'require', 'exports', 'module' ], factory: function (require,exports,module) { ... } } })
@akidee
Copy link
Author

akidee commented May 10, 2011

Fixed by #6

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

No branches or pull requests

1 participant