You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using Intl.Collator to compare some strings and also the Intl.ListFormat polyfill on the same app. My app fails while trying to create a instance of the Intl.Collator class.
Importing with the url: https://polyfill.app/api/polyfill?features=intl.list-format
I'm using
Intl.Collator
to compare some strings and also theIntl.ListFormat
polyfill on the same app. My app fails while trying to create a instance of theIntl.Collator
class.Importing with the url:
https://polyfill.app/api/polyfill?features=intl.list-format
Pen to reproduce: https://jsbin.com/peyulegiba/edit?html,js,output
(Opening in a browser that loads and applies the polyfill, yields undefined instead of function Collator())
When debugging on mobile Safari 12, i found the overriding line:
Polyfiller/polyfill-lib/intl/intl.js
Line 5818 in 3bffbad
Probably just coping over the Intl.Collator to the polyfilled Intl will solve the issue.
Thanks for the awesome service, looking forward to use the custom-elements polyfill next. =D
The text was updated successfully, but these errors were encountered: