diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2016-09-19 22:49:31 +0200 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2016-09-19 22:49:31 +0200 |
commit | ec8d8440a893ba64075da2e57ea04c7976e0b303 (patch) | |
tree | a8fed5e1e6e06317533ebf021c1244c057e670c2 /client/src/app/videos/video-watch | |
parent | ad22074a780b4bdbe3cd9e903b3fa5ef83eaef14 (diff) | |
download | PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.tar.gz PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.tar.zst PeerTube-ec8d8440a893ba64075da2e57ea04c7976e0b303.zip |
Client: use templateUrl/styleUrls instead of require
Diffstat (limited to 'client/src/app/videos/video-watch')
-rw-r--r-- | client/src/app/videos/video-watch/video-watch.component.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/app/videos/video-watch/video-watch.component.ts b/client/src/app/videos/video-watch/video-watch.component.ts index 2a60e9327..ada20fc96 100644 --- a/client/src/app/videos/video-watch/video-watch.component.ts +++ b/client/src/app/videos/video-watch/video-watch.component.ts | |||
@@ -6,8 +6,8 @@ import { WebTorrentService } from './webtorrent.service'; | |||
6 | 6 | ||
7 | @Component({ | 7 | @Component({ |
8 | selector: 'my-video-watch', | 8 | selector: 'my-video-watch', |
9 | template: require('./video-watch.component.html'), | 9 | templateUrl: './video-watch.component.html', |
10 | styles: [ require('./video-watch.component.scss') ] | 10 | styleUrls: [ './video-watch.component.scss' ] |
11 | }) | 11 | }) |
12 | 12 | ||
13 | export class VideoWatchComponent implements OnInit, OnDestroy { | 13 | export class VideoWatchComponent implements OnInit, OnDestroy { |