Mercurial > hg > ugly-duckling
view src/main.ts @ 205:b638c714bd1d
Implement pinch-zoom manually using touchevents, as HammerJS was preventing scrolling the page. This should also allow for smoother transitioning between gestures - needs testing on a device.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 24 Mar 2017 15:27:07 +0000 |
parents | 340ce94899fd |
children | 53ea6406d601 |
line wrap: on
line source
import './polyfills.ts'; import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; import { enableProdMode } from '@angular/core'; import { environment } from './environments/environment'; import { AppModule } from './app/'; if (environment.production) { enableProdMode(); } platformBrowserDynamic().bootstrapModule(AppModule);