Skip to content
This repository has been archived by the owner on May 31, 2021. It is now read-only.

Commit

Permalink
web-angular: start with an empty todo list (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
chalin authored and kwalrath committed May 9, 2017
1 parent b5e3bb5 commit 3748fa0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions lib/generators/web_angular_data.dart
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,8 @@ CiAgICAgIDwvbGk+CiAgPC91bD4KPC9kaXY+Cg==""",
"""aW1wb3J0ICdkYXJ0OmFzeW5jJzsKCmltcG9ydCAncGFja2FnZTphbmd1bGFyMi9jb3JlLmRhcnQn
OwoKLy8vIE1vY2sgc2VydmljZSBlbXVsYXRpbmcgYWNjZXNzIHRvIGEgdG8tZG8gbGlzdCBzdG9y
ZWQgb24gYSBzZXJ2ZXIuCkBJbmplY3RhYmxlKCkKY2xhc3MgVG9kb0xpc3RTZXJ2aWNlIHsKICBM
aXN0PFN0cmluZz4gbW9ja1RvZG9MaXN0ID0gPFN0cmluZz5bJ0ZlZWQgdGhlIGNhdHMnLCAnV2Fs
ayB0aGUgZG9ncyddOwoKICBGdXR1cmU8TGlzdDxTdHJpbmc+PiBnZXRUb2RvTGlzdCgpIGFzeW5j
ID0+IG1vY2tUb2RvTGlzdDsKfQo=""",
aXN0PFN0cmluZz4gbW9ja1RvZG9MaXN0ID0gPFN0cmluZz5bXTsKCiAgRnV0dXJlPExpc3Q8U3Ry
aW5nPj4gZ2V0VG9kb0xpc3QoKSBhc3luYyA9PiBtb2NrVG9kb0xpc3Q7Cn0K""",
"pubspec.yaml",
"text",
"""bmFtZTogX19wcm9qZWN0TmFtZV9fCmRlc2NyaXB0aW9uOiBBIHdlYiBhcHAgdGhhdCB1c2VzIEFu
Expand Down
2 changes: 1 addition & 1 deletion templates/web-angular/lib/todo_list/todo_list_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import 'package:angular2/core.dart';
/// Mock service emulating access to a to-do list stored on a server.
@Injectable()
class TodoListService {
List<String> mockTodoList = <String>['Feed the cats', 'Walk the dogs'];
List<String> mockTodoList = <String>[];

Future<List<String>> getTodoList() async => mockTodoList;
}

0 comments on commit 3748fa0

Please sign in to comment.