unorm
unorm copied to clipboard
Uglified version crashes in IE8
unorm fails on reduceRight in IE8, preventing all following code from running when in concatenated bundle. cf https://developer.mozilla.org/fr/docs/Web/JavaScript/Reference/Objets_globaux/Array/reduceRight#Browser_compatibility
any ETA for a fix on this issue ? It seems to me it is just a matter of implementing an IE8 compatible function that would emulate reduceRight.
I'm inclined to not solve this. I think it's reasonable to include shims (reduceRight
) for IE8 support, since the user base is quite small and declining. I don't want to increase the code size too much to support IE8. Maybe it should be better documented.
On the other hand, if you have time to submit a PR that removes the dependency on reduceRight
it might be a good solution, and I will be happy to merge it. Have you tested that the reduceRight
shim solves the issue?