https://github.com/d3/d3
Revision 99ff885b960309f03ca5142ada3fcfe1a56f8604 authored by Mike Bostock on 09 January 2014, 21:54:49 UTC, committed by Mike Bostock on 09 January 2014, 21:54:49 UTC
When d3.js is loaded, it now prefers the AMD define function or module.exports
if available; the global `d3` is only set if neither of these are available. A
side benefit of this change is that browserify, bower and component can now load
the D3 library directly rather than needing a custom definition.
1 parent 3234f47
History
Tip revision: 99ff885b960309f03ca5142ada3fcfe1a56f8604 authored by Mike Bostock on 09 January 2014, 21:54:49 UTC
Support AMD/RequireJS.
Tip revision: 99ff885
File Mode Size
bin
lib
src
test
.gitignore -rw-r--r-- 29 bytes
.npmignore -rw-r--r-- 31 bytes
.travis.yml -rw-r--r-- 36 bytes
CONTRIBUTING.md -rw-r--r-- 2.4 KB
LICENSE -rw-r--r-- 1.4 KB
Makefile -rw-r--r-- 990 bytes
README.md -rw-r--r-- 702 bytes
bower.json -rw-r--r-- 334 bytes
component.json -rw-r--r-- 381 bytes
d3.js -rw-r--r-- 318.3 KB
d3.min.js -rw-r--r-- 143.3 KB
index.js -rw-r--r-- 938 bytes
package.json -rw-r--r-- 1.2 KB

README.md

back to top