-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
substr() with negative values does not work in IE < 9 #5
Comments
ericf
added a commit
to ericf/make-plural.js
that referenced
this issue
Mar 9, 2015
This replaces the use of `substr()` in the generated functions with `substring()` calls because in IE < 9 calling `substr()` with a negative value is not supported. See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr#Polyfill Fixes eemeli#5
This was referenced Mar 9, 2015
ericf
added a commit
to formatjs/formatjs-extract-cldr-data
that referenced
this issue
Mar 9, 2015
This upgrades to make-plural@2.1.3 which fixes eemeli/make-plural#5
longlho
pushed a commit
to formatjs/formatjs-old
that referenced
this issue
May 15, 2019
This upgrades to make-plural@2.1.3 which fixes eemeli/make-plural#5
longlho
pushed a commit
to formatjs/formatjs
that referenced
this issue
Apr 27, 2020
This upgrades to make-plural@2.1.3 which fixes eemeli/make-plural#5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IE < 9 does not support calling
substr()
with negative values, this makes the functions produced by this package unusable in older versions of IE.See: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr#Polyfill
The text was updated successfully, but these errors were encountered: