From ec8d8440a893ba64075da2e57ea04c7976e0b303 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 19 Sep 2016 22:49:31 +0200 Subject: Client: use templateUrl/styleUrls instead of require --- client/src/app/admin/friends/friend-add/friend-add.component.ts | 4 ++-- client/src/app/admin/friends/friend-list/friend-list.component.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'client/src/app/admin/friends') diff --git a/client/src/app/admin/friends/friend-add/friend-add.component.ts b/client/src/app/admin/friends/friend-add/friend-add.component.ts index 68363b482..7aab82b97 100644 --- a/client/src/app/admin/friends/friend-add/friend-add.component.ts +++ b/client/src/app/admin/friends/friend-add/friend-add.component.ts @@ -7,8 +7,8 @@ import { FriendService } from '../shared'; @Component({ selector: 'my-friend-add', - template: require('./friend-add.component.html'), - styles: [ require('./friend-add.component.scss') ] + templateUrl: './friend-add.component.html', + styleUrls: [ './friend-add.component.scss' ] }) export class FriendAddComponent implements OnInit { form: FormGroup; diff --git a/client/src/app/admin/friends/friend-list/friend-list.component.ts b/client/src/app/admin/friends/friend-list/friend-list.component.ts index c76fc4df2..afbb48c1c 100644 --- a/client/src/app/admin/friends/friend-list/friend-list.component.ts +++ b/client/src/app/admin/friends/friend-list/friend-list.component.ts @@ -4,8 +4,8 @@ import { Friend, FriendService } from '../shared'; @Component({ selector: 'my-friend-list', - template: require('./friend-list.component.html'), - styles: [ require('./friend-list.component.scss') ] + templateUrl: './friend-list.component.html', + styleUrls: [ './friend-list.component.scss' ] }) export class FriendListComponent implements OnInit { friends: Friend[]; -- cgit v1.2.3