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

AMD loader shim doesn't handle anonymous and other variants #19

Open
briancavalier opened this issue Mar 17, 2014 · 2 comments
Open

AMD loader shim doesn't handle anonymous and other variants #19

briancavalier opened this issue Mar 17, 2014 · 2 comments

Comments

@briancavalier
Copy link
Contributor

When.js provides a standalone browserify build that works in requirejs and curljs, but doesn't work with the vendor/loader.js shim, as it expects define to be called like define(name, deps, factory). When's browserify build generates an anonymous define that effectively ends up like this: define(function(require) {...}).

It'd be nice if we could make this work with anonymous defines, but I'm happy to implement a workaround in the short term, if that's easier.

@stefanpenner
Copy link
Owner

We would need to use something like r.js to name them upfront

@stefanpenner
Copy link
Owner

temp solution: 0de37aa

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