Closed mbostock closed 8 years ago
The current definition does not propagate the prototype to the factory method, so instanceof d3.curveLinear and the like do not work.
instanceof d3.curveLinear
Actually, I think this is fine; these classes are anonymous, and I don’t see a strong reason to support instanceof, prototype extension, and constructor inspection.
instanceof
The current definition does not propagate the prototype to the factory method, so
instanceof d3.curveLinear
and the like do not work.