You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
798 B

import { enableProdMode, ViewEncapsulation } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app';
import { environment } from './environments/environment';
import 'hammerjs';
(function () {
if (typeof EventTarget !== 'undefined') {
const func = EventTarget.prototype.addEventListener;
EventTarget.prototype.addEventListener = function (type, fn, capture) {
this.func = func;
if (typeof capture !== 'boolean') {
capture = capture || {};
capture.passive = false;
}
this.func(type, fn, capture);
};
}
}());
if (environment.production) {
enableProdMode();
}
platformBrowserDynamic().bootstrapModule(AppModule, { defaultEncapsulation: ViewEncapsulation.None });