diff options
Diffstat (limited to 'ecomp-sdk/epsdk-app-os/ngappsrc/src/polyfills.ts')
-rw-r--r-- | ecomp-sdk/epsdk-app-os/ngappsrc/src/polyfills.ts | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngappsrc/src/polyfills.ts b/ecomp-sdk/epsdk-app-os/ngappsrc/src/polyfills.ts index b21ecc3c..572c150d 100644 --- a/ecomp-sdk/epsdk-app-os/ngappsrc/src/polyfills.ts +++ b/ecomp-sdk/epsdk-app-os/ngappsrc/src/polyfills.ts @@ -24,21 +24,38 @@ * Googlebot uses a renderer based on Chrome 41. * https://developers.google.com/search/docs/guides/rendering **/ -// import 'core-js/es6/array'; +import 'core-js/es6/array'; /** IE10 and IE11 requires the following for NgClass support on SVG elements */ -// import 'classlist.js'; // Run `npm install --save classlist.js`. +import 'classlist.js'; // Run `npm install --save classlist.js`. /** IE10 and IE11 requires the following for the Reflect API. */ import 'core-js/es6/reflect'; import 'core-js/es7/reflect'; +import 'core-js/es6/symbol'; +import 'core-js/es6/object'; +import 'core-js/es6/function'; +import 'core-js/es6/parse-int'; +import 'core-js/es6/parse-float'; +import 'core-js/es6/number'; +import 'core-js/es6/math'; +import 'core-js/es6/string'; +import 'core-js/es6/date'; +import 'core-js/es6/array'; +import 'core-js/es6/regexp'; +import 'core-js/es6/map'; +import 'core-js/es6/weak-map'; +import 'core-js/es6/set'; +import 'core-js/es7/array'; +import 'custom-event-polyfill'; + /** * Web Animations `@angular/platform-browser/animations` * Only required if AnimationBuilder is used within the application and using IE/Edge or Safari. * Standard animation support in Angular DOES NOT require any polyfills (as of Angular 6.0). **/ -// import 'web-animations-js'; // Run `npm install --save web-animations-js`. + import 'web-animations-js'; // Run `npm install --save web-animations-js`. /** * By default, zone.js will patch all possible macroTask and DomEvents @@ -53,7 +70,7 @@ import 'core-js/es7/reflect'; * in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js * with the following flag, it will bypass `zone.js` patch for IE/Edge */ -// (window as any).__Zone_enable_cross_context_check = true; +(window as any).__Zone_enable_cross_context_check = true; /*************************************************************************************************** * Zone JS is required by default for Angular itself. @@ -62,4 +79,4 @@ import 'zone.js/dist/zone'; // Included with Angular CLI. /*************************************************************************************************** * APPLICATION IMPORTS - */ + */
\ No newline at end of file |