Created
December 24, 2015 06:14
-
-
Save tlkahn/6915115602dcdf8e8809 to your computer and use it in GitHub Desktop.
set module return value as global
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment