mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-01-16 00:23:10 +05:30
Fix issue with Intl polyfill and RegExp caching
This commit is contained in:
parent
3608a53a95
commit
d98dee018a
@ -55,6 +55,11 @@ async function polyfillIntl(locale: string): Promise<void> {
|
|||||||
'intl'
|
'intl'
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// resolve issue with RegExp errors
|
||||||
|
// @see https://github.com/mattlewis92/angular-calendar/issues/274
|
||||||
|
// @see https://github.com/mattlewis92/angular-calendar/issues/274
|
||||||
|
Intl.__disableRegExpRestore();
|
||||||
|
|
||||||
window.Intl = Intl;
|
window.Intl = Intl;
|
||||||
|
|
||||||
// MUST be loaded in series with the main polyfill
|
// MUST be loaded in series with the main polyfill
|
||||||
|
Loading…
x
Reference in New Issue
Block a user