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

Moonshine prevents load of d3.js #33

Open
stuta opened this issue Nov 26, 2015 · 0 comments
Open

Moonshine prevents load of d3.js #33

stuta opened this issue Nov 26, 2015 · 0 comments

Comments

@stuta
Copy link

stuta commented Nov 26, 2015

Hello.

d3.js publishes itself with this way:
if (typeof define === "function" && define.amd) this.d3 = d3, define(d3);
else if (typeof module === "object" && module.exports) module.exports = d3;
else this.d3 = d3;

I load d3.js later than moonshine and moonshine creates module.exports --> d3 will not be defined. Could module.exports be named differently inside moonsine?

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