This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +9
-18
lines changed Expand file tree Collapse file tree 3 files changed +9
-18
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ packages:
10
10
path: "../.."
11
11
relative: true
12
12
source: path
13
- version: "0.9.4 "
13
+ version: "0.9.7 "
14
14
args:
15
15
description: args
16
16
source: hosted
@@ -50,11 +50,11 @@ packages:
50
50
route_hierarchical:
51
51
description: route_hierarchical
52
52
source: hosted
53
- version: "0.4.10 "
53
+ version: "0.4.13 "
54
54
shadow_dom:
55
55
description: shadow_dom
56
56
source: hosted
57
- version: "0.9.1 "
57
+ version: "0.9.2 "
58
58
source_maps:
59
59
description: source_maps
60
60
source: hosted
@@ -66,11 +66,11 @@ packages:
66
66
unittest:
67
67
description: unittest
68
68
source: hosted
69
- version: "0.9.3 "
69
+ version: "0.10.0 "
70
70
unmodifiable_collection:
71
71
description: unmodifiable_collection
72
72
source: hosted
73
- version: "0.9.2"
73
+ version: "0.9.2+1 "
74
74
utf:
75
75
description: utf
76
76
source: hosted
Original file line number Diff line number Diff line change @@ -7,16 +7,15 @@ import 'dart:html';
7
7
8
8
// Everything in the 'todo' library should be preserved by MirrorsUsed
9
9
@MirrorsUsed (
10
- targets: const ['todo' ],
10
+ targets: const ['todo' ],
11
11
override: '*' )
12
12
import 'dart:mirrors' ;
13
13
14
14
main () {
15
-
16
15
print (window.location.search);
17
16
var module = new Module ()
18
- ..type (TodoController )
19
- ..type (PlaybackHttpBackendConfig );
17
+ ..type (TodoController )
18
+ ..type (PlaybackHttpBackendConfig );
20
19
21
20
// If these is a query in the URL, use the server-backed
22
21
// TodoController. Otherwise, use the stored-data controller.
@@ -39,5 +38,5 @@ main() {
39
38
module.type (HttpBackend , implementedBy: PlaybackHttpBackend );
40
39
}
41
40
42
- ngBootstrap (module: module);
41
+ ngBootstrap (module: module);
43
42
}
Original file line number Diff line number Diff line change @@ -68,14 +68,6 @@ class TodoController {
68
68
serverController.init (this );
69
69
}
70
70
71
- // workaround for https://github.com/angular/angular.dart/issues/37
72
- dynamic operator [](String key) {
73
- if (key == 'newItem' ) {
74
- return newItem;
75
- }
76
- return null ;
77
- }
78
-
79
71
add () {
80
72
if (newItem.isEmpty) return ;
81
73
You can’t perform that action at this time.
0 commit comments