Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Register jQuery as a CommonjS async module #25

Closed
wants to merge 5 commits into
from

Conversation

Projects
None yet
2 participants
Contributor

jrburke commented Sep 30, 2010

This patch goes with this ticket: http://dev.jquery.com/ticket/7102

jrburke added some commits Sep 30, 2010

Defining an explicit module called 'jquery', since otherwise, using a…
…nonymous modules in an optimization script that does not know about modules, it can break code that does know about anonymous modules, if both types of scripts are mixed together. 'jquery' was used instead of 'jQuery' because commonjs module identifiers map to file names, and normally the file name for jquery is in lower case.
Member

csnover commented Dec 27, 2010

Committed.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment