X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fvideos%2Fvideos.module.ts;h=4b14d1da8fb7e63ab9f34997aa9e11a924fc13bd;hb=0cd4344f3cf529b15308fcf3eb7d7eb07726df56;hp=4f2839c85aa60e041bd3673f4d70a187deb44dea;hpb=ad42bea3a55ca7937f082cc641764de70ce34bd1;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/videos/videos.module.ts b/client/src/app/videos/videos.module.ts index 4f2839c85..4b14d1da8 100644 --- a/client/src/app/videos/videos.module.ts +++ b/client/src/app/videos/videos.module.ts @@ -1,25 +1,13 @@ -import { NgModule } from '@angular/core'; - -// import { TagInputModule } from 'ng2-tag-input'; - -import { VideosRoutingModule } from './videos-routing.module'; -import { VideosComponent } from './videos.component'; -import { VideoAddComponent, VideoUpdateComponent } from './video-edit'; -import { VideoListComponent, VideoMiniatureComponent, VideoSortComponent } from './video-list'; -import { - VideoWatchComponent, - VideoMagnetComponent, - VideoReportComponent, - VideoShareComponent, - WebTorrentService -} from './video-watch'; -import { LoaderComponent, VideoService } from './shared'; -import { SharedModule } from '../shared'; +import { NgModule } from '@angular/core' +import { SharedModule } from '../shared' +import { VideoSearchComponent } from './video-list' +import { VideoRecentlyAddedComponent } from './video-list/video-recently-added.component' +import { VideoTrendingComponent } from './video-list/video-trending.component' +import { VideosRoutingModule } from './videos-routing.module' +import { VideosComponent } from './videos.component' @NgModule({ imports: [ - // TagInputModule, - VideosRoutingModule, SharedModule ], @@ -27,28 +15,15 @@ import { SharedModule } from '../shared'; declarations: [ VideosComponent, - VideoAddComponent, - VideoUpdateComponent, - - VideoListComponent, - VideoMiniatureComponent, - VideoSortComponent, - - VideoWatchComponent, - VideoMagnetComponent, - VideoShareComponent, - VideoReportComponent, - - LoaderComponent + VideoTrendingComponent, + VideoRecentlyAddedComponent, + VideoSearchComponent ], exports: [ VideosComponent ], - providers: [ - VideoService, - WebTorrentService - ] + providers: [] }) export class VideosModule { }