aboutsummaryrefslogtreecommitdiff
path: root/Timeline/ClientApp/src/app/home/home.component.ts
diff options
context:
space:
mode:
author杨宇千 <crupest@outlook.com>2019-02-21 16:32:16 +0000
committer杨宇千 <crupest@outlook.com>2019-02-21 16:32:16 +0000
commit9ae2a899eb53b8ee31710a5533cdf21b0f14dafd (patch)
tree8f22c966d15d928a5587385f38b5284f0691b2de /Timeline/ClientApp/src/app/home/home.component.ts
parent35f8562f1f1db36a42c53ce42c39db3d615deb0f (diff)
parent504d770e51a07ca7765de725979412b6dacdcf15 (diff)
downloadtimeline-9ae2a899eb53b8ee31710a5533cdf21b0f14dafd.tar.gz
timeline-9ae2a899eb53b8ee31710a5533cdf21b0f14dafd.tar.bz2
timeline-9ae2a899eb53b8ee31710a5533cdf21b0f14dafd.zip
Merged PR 3: Add unit test for front side.
Related work items: #1
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!!!');
- }
}