fitter-happier-text icon indicating copy to clipboard operation
fitter-happier-text copied to clipboard

strict mode error in edge

Open MartinMuzatko opened this issue 7 years ago • 2 comments

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?

MartinMuzatko avatar Nov 29 '17 20:11 MartinMuzatko

No commits in the last two years... is this library being maintained?

malloryerik avatar Jan 05 '18 04:01 malloryerik

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.

MartinMuzatko avatar Jan 05 '18 07:01 MartinMuzatko