mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-05-31 14:11:58 +05:30
Fix issue with Intl polyfill and RegExp caching
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user