aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/home/home.component.ts
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2019-02-21 23:36:41 +0800
committercrupest <crupest@outlook.com>2019-02-21 23:36:41 +0800
commitb694d7a3e1b04bb942e5ba8224762d706f98a371 (patch)
treece0cd6249f2c09797bca65cfb9dbc81f6c334d2e /Timeline/ClientApp/src/app/home/home.component.ts
parent0ed96f534f75ebc2a7bdbec031a4674368d0420a (diff)
downloadtimeline-b694d7a3e1b04bb942e5ba8224762d706f98a371.tar.gz
timeline-b694d7a3e1b04bb942e5ba8224762d706f98a371.tar.bz2
timeline-b694d7a3e1b04bb942e5ba8224762d706f98a371.zip
Add unit test.
Diffstat (limited to 'Timeline/ClientApp/src/app/home/home.component.ts')
-rw-r--r--Timeline/ClientApp/src/app/home/home.component.ts13
1 files changed, 0 insertions, 13 deletions
diff --git a/Timeline/ClientApp/src/app/home/home.component.ts b/Timeline/ClientApp/src/app/home/home.component.ts
index 873aee7f..2b16eef7 100644
--- a/Timeline/ClientApp/src/app/home/home.component.ts
+++ b/Timeline/ClientApp/src/app/home/home.component.ts
@@ -1,10 +1,4 @@
import { Component, OnInit } from '@angular/core';
-import { HttpClient } from '@angular/common/http';
-
-class LoginInfo {
- username = '';
- password = '';
-}
@Component({
selector: 'app-home',
@@ -13,15 +7,8 @@ class LoginInfo {
})
export class HomeComponent implements OnInit {
- loginInfo = new LoginInfo();
message = '';
- constructor(/* private http: HttpClient */) { }
-
ngOnInit() {
}
-
- tryLogin() {
- alert('Not implemented!!!');
- }
}