fitter-happier-text
fitter-happier-text copied to clipboard
strict mode error in edge
On Edge, I get the following error
Assignment to read-only properties is not allowed in strict mode
for this line:
rect.width = rect.width || text.offsetWidth || text.getComputedTextLength();
Is Object.assign
an option maybe?
No commits in the last two years... is this library being maintained?
Looks like it is not. The maintainer (@jxnblk ) is still very active on github though. It would be a shame to have this repo not maintained anymore, since it is the only working mechanism I have found.