mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-27 23:40:28 +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'
|
||||
);
|
||||
|
||||
// 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;
|
||||
|
||||
// MUST be loaded in series with the main polyfill
|
||||
|
Loading…
Reference in New Issue
Block a user