-
Notifications
You must be signed in to change notification settings - Fork 45
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
module.exports fires before modules.define #26
Comments
Хотя с этим, скорее всего, сломается текущий код, в котором есть |
Да, в таком случае сломается ( |
dfilatov
added a commit
that referenced
this issue
May 15, 2013
в 0.3.4 сделал что будет дефайнится во все возможные модульные системы. Таким образом, в nodejs будут работать оба способа. |
👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Было бы правильнее, в коде библиотеки, сначала проверять доступность
modules
иdefine
и только после делатьmodule.exports
.Сейчас если использовать
vow
из Node.js всегда будет срабатыватьexports
, даже если я хочу использовать модули.The text was updated successfully, but these errors were encountered: