diff options
author | Chocobozzz <me@florianbigard.com> | 2017-12-12 11:59:28 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2017-12-12 13:58:03 +0100 |
commit | b682782093a22a729eea8862476ff1c8aac4ef0c (patch) | |
tree | 40ab06be62df07d43ff7799011e4e3427b348eec /client/src/main.ts | |
parent | 7bfd1b1edb7ea4ea6516b6a74c4e9af938d0bdc6 (diff) | |
download | PeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.tar.gz PeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.tar.zst PeerTube-b682782093a22a729eea8862476ff1c8aac4ef0c.zip |
Upgrade to angular 5
Diffstat (limited to 'client/src/main.ts')
-rw-r--r-- | client/src/main.ts | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/client/src/main.ts b/client/src/main.ts index 91ec6da5f..f3825fe50 100644 --- a/client/src/main.ts +++ b/client/src/main.ts | |||
@@ -1,12 +1,13 @@ | |||
1 | import { enableProdMode } from '@angular/core'; | 1 | import { enableProdMode } from '@angular/core' |
2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic'; | 2 | import { platformBrowserDynamic } from '@angular/platform-browser-dynamic' |
3 | 3 | ||
4 | import { AppModule } from './app/app.module'; | 4 | import { AppModule } from './app/app.module' |
5 | import { environment } from './environments/environment'; | 5 | import { environment } from './environments/environment' |
6 | 6 | ||
7 | if (environment.production) { | 7 | if (environment.production) { |
8 | enableProdMode(); | 8 | enableProdMode() |
9 | } | 9 | } |
10 | 10 | ||
11 | platformBrowserDynamic().bootstrapModule(AppModule) | 11 | platformBrowserDynamic() |
12 | .catch(err => console.log(err)); | 12 | .bootstrapModule(AppModule) |
13 | .catch(err => console.log(err)) | ||