interactivethings / d3-grid

D3 grid layout
BSD 3-Clause "New" or "Revised" License
77 stars 10 forks source link

Remove global d3 dependency #7

Open vorg opened 9 years ago

vorg commented 9 years ago

That would allow it to be more node/browserify friendly and do

var d3 = require('d3');
var gridLayout = require('d3-grid')(d3);