d3-plugins icon indicating copy to clipboard operation
d3-plugins copied to clipboard

Make plugins AMD modules.

Open dev-tim opened this issue 11 years ago • 3 comments

It would be good to make d3 plugins defined as AMD modules to make it possible to use it with requirjs

dev-tim avatar Apr 22 '14 07:04 dev-tim

I think that the idea of plugins is exactly to avoid this complexity. The problem is that the javascript community is divided about how to implement modules

danse avatar May 12 '14 10:05 danse

I would personally prefer them to be commonJS

vicapow avatar Jul 31 '14 20:07 vicapow

Or at the very least, allow "d3" to be an optional dependency instead of always requiring the "d3" object be global.

vicapow avatar Jul 31 '14 20:07 vicapow