diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-05-27 17:55:57 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-05-27 17:55:57 +0200 |
commit | f0a397ee3dc8bd387330cc3c46a639b680e23991 (patch) | |
tree | d1a4f6b36d55a64932c719cc62aedf765a35dd51 | |
parent | 9bfe96e19f552a75eed790f8f3b68de11c9b7fef (diff) | |
download | PeerTube-f0a397ee3dc8bd387330cc3c46a639b680e23991.tar.gz PeerTube-f0a397ee3dc8bd387330cc3c46a639b680e23991.tar.zst PeerTube-f0a397ee3dc8bd387330cc3c46a639b680e23991.zip |
Directives/providers array for components in alphabetical order
-rw-r--r-- | client/app/app.component.ts | 2 | ||||
-rw-r--r-- | client/app/videos/video-list/video-list.component.ts | 2 | ||||
-rw-r--r-- | 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 { | |||
45 | templateUrl: 'client/app/app.component.html', | 45 | templateUrl: 'client/app/app.component.html', |
46 | styleUrls: [ 'client/app/app.component.css' ], | 46 | styleUrls: [ 'client/app/app.component.css' ], |
47 | directives: [ ROUTER_DIRECTIVES, SearchComponent ], | 47 | directives: [ ROUTER_DIRECTIVES, SearchComponent ], |
48 | providers: [ ROUTER_PROVIDERS, HTTP_PROVIDERS, VideoService, FriendService, AuthService ] | 48 | providers: [ AuthService, FriendService, HTTP_PROVIDERS, ROUTER_PROVIDERS, VideoService ] |
49 | }) | 49 | }) |
50 | 50 | ||
51 | export class AppComponent { | 51 | 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'; | |||
19 | selector: 'my-videos-list', | 19 | selector: 'my-videos-list', |
20 | styleUrls: [ 'client/app/videos/video-list/video-list.component.css' ], | 20 | styleUrls: [ 'client/app/videos/video-list/video-list.component.css' ], |
21 | templateUrl: 'client/app/videos/video-list/video-list.component.html', | 21 | templateUrl: 'client/app/videos/video-list/video-list.component.html', |
22 | directives: [ ROUTER_DIRECTIVES, PAGINATION_DIRECTIVES, VideoMiniatureComponent, VideoSortComponent, LoaderComponent ] | 22 | directives: [ LoaderComponent, PAGINATION_DIRECTIVES, ROUTER_DIRECTIVES, VideoMiniatureComponent, VideoSortComponent ] |
23 | }) | 23 | }) |
24 | 24 | ||
25 | export class VideoListComponent implements OnInit { | 25 | 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'; | |||
4 | 4 | ||
5 | @Component({ | 5 | @Component({ |
6 | selector: 'my-video-sort', | 6 | selector: 'my-video-sort', |
7 | // styleUrls: [ 'app/angular/videos/components/list/video-sort.component.css' ], | ||
8 | templateUrl: 'client/app/videos/video-list/video-sort.component.html' | 7 | templateUrl: 'client/app/videos/video-list/video-sort.component.html' |
9 | }) | 8 | }) |
10 | 9 | ||