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?
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?