From cb8f820d73525f637b648a0f8c33157f70bbd535 Mon Sep 17 00:00:00 2001 From: Alex Shnitman Date: Mon, 1 Feb 2021 22:53:31 +0200 Subject: upgrade dependencies (migrate to Angular 10) --- ui/src/polyfills.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'ui/src/polyfills.ts') diff --git a/ui/src/polyfills.ts b/ui/src/polyfills.ts index aa665d6..5366a93 100644 --- a/ui/src/polyfills.ts +++ b/ui/src/polyfills.ts @@ -1,3 +1,7 @@ +/*************************************************************************************************** + * Load `$localize` onto the global scope - used if i18n tags appear in Angular templates. + */ +import '@angular/localize/init'; /** * This file includes polyfills needed by Angular and is loaded before the app. * You can add your own extra polyfills to this file. @@ -18,7 +22,9 @@ * BROWSER POLYFILLS */ -/** IE10 and IE11 requires the following for NgClass support on SVG elements */ +/** + * IE11 requires the following for NgClass support on SVG elements + */ // import 'classlist.js'; // Run `npm install --save classlist.js`. /** @@ -35,7 +41,7 @@ * will put import in the top of bundle, so user need to create a separate file * in this directory (for example: zone-flags.ts), and put the following flags * into that file, and then add the following code before importing zone.js. - * import './zone-flags.ts'; + * import './zone-flags'; * * The flags allowed in zone-flags.ts are listed here. * -- cgit