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

Problem with module declaration #560

Open
hrajchert opened this issue Dec 18, 2014 · 1 comment
Open

Problem with module declaration #560

hrajchert opened this issue Dec 18, 2014 · 1 comment

Comments

@hrajchert
Copy link

Hi, using this

var exports = exports || {};

Is creating a global exports in the browser, thus confusing other UMD modules that now think they are in a node enviroment.

Can you make this UMD compliant?

Thanks!

@apisurfer
Copy link

+1. I have the same problem. Confuses Backbone and it thinks it's in node env and tries to require underscore :/

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