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
commit6ec22ee0cbf36fc85e73f6f962eafe7120a64488 (patch)
treef534b8d4a158eed94a26c66562aea7b075a7b282 /Timeline/ClientApp/src/app/home/home.component.ts
parent2bcdc32c4c6d37a6d40aa4fdfc7b04478a76e961 (diff)
downloadtimeline-6ec22ee0cbf36fc85e73f6f962eafe7120a64488.tar.gz
timeline-6ec22ee0cbf36fc85e73f6f962eafe7120a64488.tar.bz2
timeline-6ec22ee0cbf36fc85e73f6f962eafe7120a64488.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!!!');
- }
}