Skip to content
This repository was archived by the owner on Jul 25, 2019. It is now read-only.

Commit 818569c

Browse files
committed
move book.ts one level up -- CMD to use: ng generate class shared/book
1 parent 3662296 commit 818569c

File tree

7 files changed

+4
-7
lines changed

7 files changed

+4
-7
lines changed

book-rating/src/app/app.component.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ import { DashboardComponent} from './dashboard';
55
moduleId: module.id,
66
selector: 'app-root',
77
templateUrl: 'app.component.html',
8-
styleUrls: ['app.component.css'],
98
directives: [DashboardComponent]
109
})
1110
export class AppComponent { }

book-rating/src/app/book/book.component.css

Whitespace-only changes.
Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
1-
import { Component, OnInit, Input } from '@angular/core';
1+
import { Component, Input } from '@angular/core';
22
import { Book } from '../shared';
33

44
@Component({
55
moduleId: module.id,
66
selector: 'br-book',
7-
templateUrl: 'book.component.html',
8-
styleUrls: ['book.component.css']
7+
templateUrl: 'book.component.html'
98
})
109
export class BookComponent {
1110
@Input() information: Book;
1211

13-
constructor() {
14-
}
12+
constructor() { }
1513
}

book-rating/src/app/dashboard/dashboard.component.css

Whitespace-only changes.

book-rating/src/app/shared/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export { Book } from './models/book';;
1+
export { Book } from './book';;

0 commit comments

Comments
 (0)