d3plus / d3plus-text

A smart SVG text box with line wrapping and automatic font size scaling.
MIT License
105 stars 19 forks source link

forces conversion to string inside trim function #112

Closed cnavarreteliz closed 5 years ago

cnavarreteliz commented 5 years ago

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

Checklist