zambezi / grid

D3 component for drawing grids
MIT License
4 stars 2 forks source link

Fix accessing of d3 via global object. #16

Closed HoraceShmorace closed 8 years ago

HoraceShmorace commented 8 years ago

This script was using d3.select (which then had to be globally defined, via window.d3) instead of the version of the function already imported directly via import { select, event } from 'd3-selection'.