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

optimizer should use apiContext, apiName, defineContext, and defineName #2

Open
unscriptable opened this issue Mar 15, 2012 · 1 comment
Assignees

Comments

@unscriptable
Copy link
Member

When compiling resources/modules, the optimizer should use apiContext, apiName, defineContext, and defineName to correctly generate the compiled code. Since plugins just blindly write out "define(" in their write methods, the build tool has to compensate for this by scanning and correcting the build output.

Calls to curl( should also be converted (but not calls to require(!).

@ghost ghost assigned unscriptable Mar 15, 2012
@unscriptable
Copy link
Member Author

This issue is related to cujojs/curl#70 since we will eventually use cram.js to build the dist versions of curl.js. cc @papirosko

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