X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fpolyfills.ts;h=bbba3f05cd7026a76a081b36fc7d67d48b0d7343;hb=818045ef04b321aa0a66bb8abce30a2e94e9fefa;hp=3c4120599f4d197341fdea9be96acea03d1e07e7;hpb=f36da21e40104a50acb00132920b835240cebb38;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/polyfills.ts b/client/src/polyfills.ts index 3c4120599..bbba3f05c 100644 --- a/client/src/polyfills.ts +++ b/client/src/polyfills.ts @@ -18,7 +18,7 @@ * BROWSER POLYFILLS */ -import 'core-js/es7/object' +import 'core-js/es/object' /** IE10 and IE11 requires the following for NgClass support on SVG elements */ // import 'classlist.js'; // Run `npm install --save classlist.js`. @@ -57,8 +57,8 @@ import 'core-js/es7/object' /*************************************************************************************************** * Zone JS is required by default for Angular itself. */ -// tslint:disable -import 'zone.js/dist/zone' // Included with Angular CLI. +/* eslint-disable */ +import 'zone.js' // Included with Angular CLI. /*************************************************************************************************** * APPLICATION IMPORTS @@ -69,3 +69,5 @@ import 'zone.js/dist/zone' // Included with Angular CLI. ;(window as any).global = window ;(window as any).process = require('process/') ;(window as any).Buffer = require('buffer/').Buffer + +import '@angular/localize/init'