d3 / d3-voronoi

Compute the Voronoi diagram of a set of two-dimensional points.
Other
249 stars 60 forks source link

Use deep equal for null on voronoi.extent ternary operator #4

Closed jrzimmerman closed 9 years ago

jrzimmerman commented 9 years ago

Small change to use a deep equal for null on the voronoi.extent ternary operator.

jrzimmerman commented 9 years ago

If this was intended please close, thanks!

mbostock commented 9 years ago

It’s intended: undefined should behave the same as null.