We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Example:
require.def({ "underscorex": { injects: [ 'require', 'exports', 'module' ], factory: function (require, exports, module) { var _ = exports = module.exports = require('underscore'); console.log(_) // libary defined here } }, "underscore": { injects: [ 'require', 'exports', 'module' ], factory: function (require, exports, module) { var _ = ... // Must be commented out, because Yabble does not define module.exports if (typeof module !== 'undefined'/* && module.exports*/) { module.exports = _; _._ = _; } else { root._ = _; } // libary defined here } } })
console.log() prints {} instead of the underscore library.
The text was updated successfully, but these errors were encountered:
Fixed by #6
Sorry, something went wrong.
No branches or pull requests
Example:
console.log() prints {} instead of the underscore library.
The text was updated successfully, but these errors were encountered: