Closed curran closed 4 years ago
Thank you @Fil for reviewing!
I've made one more commit to address your idea. Requesting re-review please.
Hooray!!! Thank you @mourner .
@mourner Might it be possible to cut a new NPM release with this change? Thank you.
Published as https://www.npmjs.com/package/@datavis-tech/polylabel for now.
Will mark that as deprecated when a new version of this upstream package comes out.
This PR is a proposed solution for #2.
A fresh take on #14.
Summary of changes:
distance
property to returned values.0
, not-0
, for degenerate cases.distance
(never getsundefined
).var
, andObject.assign
in tests instead of rest/spread).Kindly requesting review @mourner @fil . Feedback welcome!
🙏