Mercurial > hg > ugly-duckling
annotate src/main.ts @ 357:b529a08ddff1
Explicitly state the change detection strategy, despite the fact it will already be OnPush here because its parent is.
author | Lucas Thompson <dev@lucas.im> |
---|---|
date | Fri, 26 May 2017 18:30:58 +0100 |
parents | 53ea6406d601 |
children |
rev | line source |
---|---|
dev@236 | 1 import 'polyfills'; |
dev@236 | 2 import { enableProdMode } from '@angular/core'; |
dev@236 | 3 import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; |
angular-cli@0 | 4 |
dev@236 | 5 import { AppModule } from './app/app.module'; |
angular-cli@0 | 6 import { environment } from './environments/environment'; |
angular-cli@0 | 7 |
angular-cli@0 | 8 if (environment.production) { |
angular-cli@0 | 9 enableProdMode(); |
angular-cli@0 | 10 } |
angular-cli@0 | 11 |
angular-cli@0 | 12 platformBrowserDynamic().bootstrapModule(AppModule); |