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

AMDClean removes require calls with three arguments #94

Open
Chris2m opened this issue May 22, 2015 · 0 comments
Open

AMDClean removes require calls with three arguments #94

Chris2m opened this issue May 22, 2015 · 0 comments

Comments

@Chris2m
Copy link

Chris2m commented May 22, 2015

AMDClean fails to recognize require calls using three arguments. The following would be removed completely,

require({baseUrl: "example.com"}, ["app/test"], function(test){}); 

whereas omitting the first parameter and leaving the rest in place will result in a correct transformation:

require(["app/test"], function(test){}); 
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