Support for Chrome < 50 #182
Closed
pavel-krasnov
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, when running the package in old browsers (Chrome < 50) I get the error "Invalid flags supplied to RegExp constructor 'u'". This is because of this line of code:
This feature (
/u
) is supported from Chrome 50: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp/unicode#browser_compatibilityWhy could somebody need to support Chrome 50? I am developing a WebOS/Tizen web based app. Some not so old TV devices use these old Chrome versions under the hood to run apps:
As the main page of this repo effectively mentions support for Chrome 42+ (from which
fetch
is supported) or even older withfetch
polyfill, it would be great to change the line to something processable in old browsers.Is it possible?
Beta Was this translation helpful? Give feedback.
All reactions