-
Notifications
You must be signed in to change notification settings - Fork 13
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
New Features about Number.prototype.toLocaleString()
for IE11 in win7 and 8, a lot of related new definitions
#52
Closed
Closed
Changes from 4 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
471bb04
Update definitions.js
Clayblockunova d47ab81
Update features.js
Clayblockunova 5e9e332
Update features.js
Clayblockunova 3f4b70b
Update feature-emulation.helpers.js
Clayblockunova f767d8a
Update features.js
Clayblockunova a748e94
Update definitions.js
Clayblockunova 3d416c7
Update features.js
Clayblockunova ceffd20
Update features.js
Clayblockunova a0e58f3
Update features.js
Clayblockunova a0255a5
Merge branch 'fasttime:main' into main
Clayblockunova 25e3515
Update src/lib/features.js
Clayblockunova 1f1e843
Update features.js
Clayblockunova 760ec1e
Update features.js
Clayblockunova 7dc440b
Update definitions.js
Clayblockunova 608b237
Update feature-emulation.helpers.js
Clayblockunova 7d1668f
Update features.js
Clayblockunova 87324c4
Update definitions.js
Clayblockunova 197f223
Update feature-emulation.helpers.js
Clayblockunova e2166d5
Update feature-emulation.helpers.js
Clayblockunova 7afe4da
Update features.js
Clayblockunova 8e4b739
Update features.js
Clayblockunova 511cee2
Update features.js
Clayblockunova 0157064
Update features.js
Clayblockunova f2beaf5
Update feature-emulation.helpers.js
Clayblockunova 8f19980
Update feature-emulation.helpers.js
Clayblockunova 6a9f30d
Update features.js
Clayblockunova ef7da3a
Update features.js
Clayblockunova File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -552,6 +552,47 @@ var featureInfos = | |
}, | ||
includes: ['LOCALE_NUMERALS'], | ||
}, | ||
LOCALE_NUMERALS_IE11_WIN7: | ||
{ | ||
description: | ||
'Localized number formatting exclusive to Interner Explorer 11 in Windows 7.\n' + | ||
'This includes all features of LOCALE_NUMERALS plus the output of the letters in the ' + | ||
'second word of the Arabic string representation of NaN ("برقم"), the letters in the ' + | ||
'Arabic string representation of Infinity ("+لا\xa0نهاية"), the letters in the the Czech ' + | ||
'string representation of NaN ("Není\xa0číslo"), the letters in the the Greek string ' + | ||
'representation of Infinity ("Άπειρο"), the letters in the Greek string representation of ' + | ||
'NaN ("μη\xa0αριθμός"), the letters in the Hebrew string representation of NaN ' + | ||
'("לא\xa0מספר"), the characters in the Japanese string representation of Infinity ' + | ||
'("+∞"), the characters in the Japanese string representation of NaN ("NaN\xa0(非数値)"), ' + | ||
'the letters in the Lithuanian string representation of Infinity ("begalybė"), the ' + | ||
'letters in the Latvian string representation of Infinity ("bezgalība"), the letters in ' + | ||
'the Polish string representation of Infinity ("+nieskończoność"), the letters in the ' + | ||
'Russian string representation of Infinity ("бесконечность"), the characters in the ' + | ||
'Chinese string representation of Infinity ("正无穷大" or "正無窮大"), the characters in ' + | ||
'the Simplified Chinese string representation of NaN ("非数字").', | ||
check: | ||
function () | ||
{ | ||
var available = | ||
checkLocaleNumeral('ar', NaN, /^ليس برقم/) && | ||
checkLocaleNumeral('ar', Infinity, /^+لا.نهاية/) && | ||
checkLocaleNumeral('ar-td', 234567890.1, /^٢٣٤٬?٥٦٧٬?٨٩٠٫١/) && | ||
checkLocaleNumeral('cz', NaN, /^Není.číslo/) && | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm trying this in IE 11 on Windows 7, but |
||
checkLocaleNumeral('el', Infinity, /^Άπειρο/) && | ||
checkLocaleNumeral('el', NaN, /^μη.αριθμός/) && | ||
checkLocaleNumeral('he', NaN, /^לא.מספר/) && | ||
checkLocaleNumeral('ja', Infinity, /^+∞/) && | ||
checkLocaleNumeral('ja', NaN, /^NaN.(非数値)/) && | ||
Clayblockunova marked this conversation as resolved.
Show resolved
Hide resolved
|
||
checkLocaleNumeral('lt', Infinity, /^begalybė/) && | ||
checkLocaleNumeral('lv', Infinity, /^bezgalība/) && | ||
checkLocaleNumeral('pl', Infinity, /^+nieskończoność/) && | ||
checkLocaleNumeral('ru', Infinity, /^бесконечность/) && | ||
checkLocaleNumeral('zh', Infinity, /^正/) && | ||
checkLocaleNumeral('zh-cn', NaN, /^非数字/); | ||
return available; | ||
}, | ||
includes: ['LOCALE_NUMERALS'], | ||
}, | ||
LOCATION: | ||
{ | ||
description: | ||
|
@@ -1086,13 +1127,14 @@ var featureInfos = | |
versions: ['11'], | ||
includes: | ||
{ | ||
ANY_DOCUMENT: true, | ||
DOCUMENT: false, | ||
GMT: true, | ||
JAPANESE_INFINITY: true, | ||
LOCALE_NUMERALS: true, | ||
PLAIN_INTL: true, | ||
SHORT_LOCALES: true, | ||
ANY_DOCUMENT: true, | ||
DOCUMENT: false, | ||
GMT: true, | ||
JAPANESE_INFINITY: true, | ||
LOCALE_NUMERALS: true, | ||
LOCALE_NUMERALS_IE11_WIN7: true, | ||
PLAIN_INTL: true, | ||
SHORT_LOCALES: true, | ||
}, | ||
}, | ||
IE_11_WIN_10: | ||
|
@@ -1102,7 +1144,7 @@ var featureInfos = | |
compatibilityTag: 'on Windows 10', | ||
compatibilityShortTag: 'W10', | ||
includes: | ||
{ LOCALE_INFINITY: true, LOCALE_NUMERALS: false, LOCALE_NUMERALS_EXT: true }, | ||
{ LOCALE_INFINITY: true, LOCALE_NUMERALS: false, LOCALE_NUMERALS_EXT: true, LOCALE_NUMERALS_IE11_WIN7: false }, | ||
}, | ||
NODE_0_10: | ||
{ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm getting a syntax error on this regular expression.