Closed devgru closed 7 years ago
Calling interpolate with objects without prototype:
interpolate
var a = Object.create(null); a.value = 0; var b = Object.create(null); b.value = 10; var interpolator = interpolate(a, b)
results in error:
TypeError: Cannot convert object to primitive value at isNaN (native)
I've created pull request to fix this: https://github.com/d3/d3-interpolate/pull/34
Fixed in #34.
Calling
interpolate
with objects without prototype:results in error:
I've created pull request to fix this: https://github.com/d3/d3-interpolate/pull/34