File tree 3 files changed +9
-11
lines changed
3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -84,11 +84,11 @@ export class ListPage implements OnInit {
84
84
this . subscr . next ( WrappedValue . wrap ( this . items ) ) ;
85
85
}
86
86
87
- delete ( grocery ) {
88
- this . _groceryListService . delete ( grocery . id )
89
- . subscribe ( ( ) => {
90
- var index = this . groceryList . indexOf ( grocery ) ;
91
- this . groceryList . splice ( index , 1 ) ;
92
- } ) ;
93
- }
87
+ // delete(grocery) {
88
+ // this._groceryListService.delete(grocery.id)
89
+ // .subscribe(() => {
90
+ // var index = this.groceryList.indexOf(grocery);
91
+ // this.groceryList.splice(index, 1);
92
+ // });
93
+ // }
94
94
}
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ var validator = require("email-validator");
3
3
export class User {
4
4
email : string ;
5
5
password : string ;
6
- isValidEmail : function ( ) {
6
+ isValidEmail ( ) {
7
7
return validator . validate ( this . email ) ;
8
8
}
9
9
}
Original file line number Diff line number Diff line change 15
15
" app/shared/grocery/grocery-list.service.ts" ,
16
16
" app/shared/user/user.ts" ,
17
17
" app/shared/user/user.service.ts" ,
18
- " app/shared/view-models/grocery-list.ts" ,
19
- " app/shared/view-models/user-view-model.ts" ,
20
18
" app/pages/list/list.component.ts" ,
21
19
" app/pages/login/login.component.ts" ,
22
20
" app/pages/register/register.component.ts" ,
30
28
" node_modules" ,
31
29
" platforms"
32
30
]
33
- }
31
+ }
You can’t perform that action at this time.
0 commit comments