aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/core.module.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-06-16 14:32:15 +0200
committerChocobozzz <florian.bigard@gmail.com>2017-06-16 14:32:15 +0200
commitdf98563e2104b82b119c00a3cd83cd0dc1242d25 (patch)
treea9720bf01bac9ad5646bd3d3c9bc7653617afdad /client/src/app/core/core.module.ts
parent46757b477c1adb5f98060d15998a3852e18902a6 (diff)
downloadPeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.tar.gz
PeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.tar.zst
PeerTube-df98563e2104b82b119c00a3cd83cd0dc1242d25.zip
Use typescript standard and lint all files
Diffstat (limited to 'client/src/app/core/core.module.ts')
-rw-r--r--client/src/app/core/core.module.ts26
1 files changed, 13 insertions, 13 deletions
diff --git a/client/src/app/core/core.module.ts b/client/src/app/core/core.module.ts
index 81c8f2da6..382febe5c 100644
--- a/client/src/app/core/core.module.ts
+++ b/client/src/app/core/core.module.ts
@@ -1,16 +1,16 @@
1import { NgModule, Optional, SkipSelf } from '@angular/core'; 1import { NgModule, Optional, SkipSelf } from '@angular/core'
2import { CommonModule } from '@angular/common'; 2import { CommonModule } from '@angular/common'
3import { HttpModule } from '@angular/http'; 3import { HttpModule } from '@angular/http'
4import { RouterModule } from '@angular/router'; 4import { RouterModule } from '@angular/router'
5 5
6import { SimpleNotificationsModule } from 'angular2-notifications'; 6import { SimpleNotificationsModule } from 'angular2-notifications'
7import { ModalModule } from 'ngx-bootstrap/modal'; 7import { ModalModule } from 'ngx-bootstrap/modal'
8 8
9import { AuthService } from './auth'; 9import { AuthService } from './auth'
10import { ConfigService } from './config'; 10import { ConfigService } from './config'
11import { ConfirmComponent, ConfirmService } from './confirm'; 11import { ConfirmComponent, ConfirmService } from './confirm'
12import { MenuComponent, MenuAdminComponent } from './menu'; 12import { MenuComponent, MenuAdminComponent } from './menu'
13import { throwIfAlreadyLoaded } from './module-import-guard'; 13import { throwIfAlreadyLoaded } from './module-import-guard'
14 14
15@NgModule({ 15@NgModule({
16 imports: [ 16 imports: [
@@ -43,7 +43,7 @@ import { throwIfAlreadyLoaded } from './module-import-guard';
43 ] 43 ]
44}) 44})
45export class CoreModule { 45export class CoreModule {
46 constructor( @Optional() @SkipSelf() parentModule: CoreModule) { 46 constructor ( @Optional() @SkipSelf() parentModule: CoreModule) {
47 throwIfAlreadyLoaded(parentModule, 'CoreModule'); 47 throwIfAlreadyLoaded(parentModule, 'CoreModule')
48 } 48 }
49} 49}