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

"Transporting more than one module at a time" section lacks details #14

Closed
knutkj opened this issue Feb 26, 2014 · 1 comment
Closed

Comments

@knutkj
Copy link

knutkj commented Feb 26, 2014

I think the section "Transporting more than one module at a time" is missing some details. Can you have multiple define calls made within a single script if you don't specify the id argument?

@jrburke
Copy link
Contributor

jrburke commented Mar 17, 2014

It would not work, as it would not be possible for the loader to assign the function passed to define() to a module ID slot. In that scenario there is not enough information to know what is being defined.

@jrburke jrburke closed this as completed Mar 17, 2014
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

2 participants