Skip to content
This repository was archived by the owner on Apr 14, 2021. It is now read-only.

Commit 17ded94

Browse files
committed
Update README.md
1 parent 195a9cf commit 17ded94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ if (global.Intl) {
5555
// Determine if the built-in `Intl` has the locale data we need.
5656
if (!areIntlLocalesSupported(localesMyAppSupports)) {
5757
// `Intl` exists, but it doesn't have the data we need, so load the
58-
// polyfill and replace the constructors with need with the polyfill's.
59-
var IntlPolyfill = require('intl'); // will not replace global Intl since it already exists
58+
// polyfill and patch the constructors we need with the polyfill's.
59+
var IntlPolyfill = require('intl');
6060
Intl.NumberFormat = IntlPolyfill.NumberFormat;
6161
Intl.DateTimeFormat = IntlPolyfill.DateTimeFormat;
6262
}

0 commit comments

Comments
 (0)