X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fpolyfills.ts;h=b68c07fdb9cac4695c8e8128b69e0c2cee47ae57;hb=51326912d61b05a33dd9cf3ca9befa6e2715b346;hp=5dff18632b0f4df145c13bbea325ea60227de0b7;hpb=03ca23d4f72c744f98bfff88d69461ba6e2ddf1f;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts index 5dff18632..b68c07fdb 100644 --- a/client/src/polyfills.ts +++ b/client/src/polyfills.ts @@ -45,7 +45,13 @@ import 'core-js/es7/object' /** IE10 and IE11 requires the following for the Reflect API. */ // For Google Bot -import 'core-js/es6/reflect' +// import 'core-js/es6/reflect'; // --> dealt with in src/environment.ts + +/** + * Evergreen browsers require these. + */ +// Used for reflect-metadata in JIT. If you use AOT (and only Angular decorators), you can remove. +// import 'core-js/es7/reflect' // --> dealt with in src/environment.ts /** * Required to support Web Animations `@angular/platform-browser/animations`. @@ -70,6 +76,7 @@ import 'core-js/es6/reflect' /*************************************************************************************************** * Zone JS is required by default for Angular itself. */ +// tslint:disable import 'zone.js/dist/zone' // Included with Angular CLI. /***************************************************************************************************