Updating d3plus-text to the latest version, I noticed a minor bug implementing the new function trim(), because sometimes you could pass a number (like years), and that value broke the code.
Description
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist
[ ] I have documented all new methods.
[ ] I have written tests for all new methods/functionality.
[ ] I have written examples for all new methods/functionality.
Updating
d3plus-text
to the latest version, I noticed a minor bug implementing the new functiontrim()
, because sometimes you could pass a number (like years), and that value broke the code.Description
Types of changes
Checklist