From f0a397ee3dc8bd387330cc3c46a639b680e23991 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 27 May 2016 17:55:57 +0200 Subject: Directives/providers array for components in alphabetical order --- client/app/app.component.ts | 2 +- client/app/videos/video-list/video-list.component.ts | 2 +- client/app/videos/video-list/video-sort.component.ts | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/client/app/app.component.ts b/client/app/app.component.ts index 965848105..d29448296 100644 --- a/client/app/app.component.ts +++ b/client/app/app.component.ts @@ -45,7 +45,7 @@ import { templateUrl: 'client/app/app.component.html', styleUrls: [ 'client/app/app.component.css' ], directives: [ ROUTER_DIRECTIVES, SearchComponent ], - providers: [ ROUTER_PROVIDERS, HTTP_PROVIDERS, VideoService, FriendService, AuthService ] + providers: [ AuthService, FriendService, HTTP_PROVIDERS, ROUTER_PROVIDERS, VideoService ] }) export class AppComponent { diff --git a/client/app/videos/video-list/video-list.component.ts b/client/app/videos/video-list/video-list.component.ts index 131578681..6322860be 100644 --- a/client/app/videos/video-list/video-list.component.ts +++ b/client/app/videos/video-list/video-list.component.ts @@ -19,7 +19,7 @@ import { VideoSortComponent } from './video-sort.component'; selector: 'my-videos-list', styleUrls: [ 'client/app/videos/video-list/video-list.component.css' ], templateUrl: 'client/app/videos/video-list/video-list.component.html', - directives: [ ROUTER_DIRECTIVES, PAGINATION_DIRECTIVES, VideoMiniatureComponent, VideoSortComponent, LoaderComponent ] + directives: [ LoaderComponent, PAGINATION_DIRECTIVES, ROUTER_DIRECTIVES, VideoMiniatureComponent, VideoSortComponent ] }) export class VideoListComponent implements OnInit { diff --git a/client/app/videos/video-list/video-sort.component.ts b/client/app/videos/video-list/video-sort.component.ts index ed06c7510..2cb810ff5 100644 --- a/client/app/videos/video-list/video-sort.component.ts +++ b/client/app/videos/video-list/video-sort.component.ts @@ -4,7 +4,6 @@ import { SortField } from '../shared/index'; @Component({ selector: 'my-video-sort', - // styleUrls: [ 'app/angular/videos/components/list/video-sort.component.css' ], templateUrl: 'client/app/videos/video-list/video-sort.component.html' }) -- cgit v1.2.3