This repository was archived by the owner on Feb 22, 2018. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +30
-22
lines changed Expand file tree Collapse file tree 7 files changed +30
-22
lines changed Original file line number Diff line number Diff line change @@ -40,15 +40,15 @@ class CoreModule extends Module {
40
40
bind (FormatterMap );
41
41
bind (Interpolate );
42
42
bind (RootScope );
43
- bind (Scope , inject : [ RootScope ] );
43
+ bind (Scope , toInstanceOf : RootScope );
44
44
bind (ClosureMap , toFactory: () => throw "Must provide dynamic/static ClosureMap." , inject: []);
45
45
bind (ScopeStats );
46
46
bind (ScopeStatsEmitter );
47
47
bind (ScopeStatsConfig );
48
48
bind (Object , toValue: {}); // RootScope context
49
49
50
- bind (Parser , inject : [ DynamicParser ] );
51
- bind (ParserBackend , inject : [ DynamicParserBackend ] );
50
+ bind (Parser , toInstanceOf : DynamicParser );
51
+ bind (ParserBackend , toInstanceOf : DynamicParserBackend );
52
52
bind (DynamicParser );
53
53
bind (DynamicParserBackend );
54
54
bind (Lexer );
Original file line number Diff line number Diff line change @@ -72,14 +72,14 @@ class CoreDomModule extends Module {
72
72
bind (Compiler , toImplementation: TaggingCompiler );
73
73
bind (CompilerConfig );
74
74
75
- bind (ComponentFactory , inject : [ SHADOW_DOM_COMPONENT_FACTORY_KEY ] );
75
+ bind (ComponentFactory , toInstanceOf : SHADOW_DOM_COMPONENT_FACTORY_KEY );
76
76
bind (ShadowDomComponentFactory );
77
77
bind (TranscludingComponentFactory );
78
78
bind (Content );
79
79
bind (ContentPort , toValue: null );
80
80
bind (ComponentCssRewriter );
81
81
bind (WebPlatform );
82
-
82
+
83
83
bind (Http );
84
84
bind (UrlRewriter );
85
85
bind (HttpBackend );
Original file line number Diff line number Diff line change @@ -63,7 +63,7 @@ class AngularMockModule extends Module {
63
63
bind (MockHttpBackend );
64
64
bind (Element , toValue: document.body);
65
65
bind (Node , toValue: document.body);
66
- bind (HttpBackend , inject : [ MOCK_HTTP_BACKEND_KEY ] );
66
+ bind (HttpBackend , toInstanceOf : MOCK_HTTP_BACKEND_KEY );
67
67
bind (VmTurnZone , toFactory: () {
68
68
return new VmTurnZone ()
69
69
..onError = (e, s, LongStackTrace ls) => dump ('EXCEPTION: $e \n $s \n $ls ' );
Original file line number Diff line number Diff line change @@ -58,8 +58,8 @@ main(args) {
58
58
..bind (DynamicParser )
59
59
..bind (DartGetterSetterGen )
60
60
..bind (CacheRegister )
61
- ..bind (Parser , inject : [ DynamicParser ] )
62
- ..bind (ParserBackend , inject : [ DartGetterSetterGen ] );
61
+ ..bind (Parser , toInstanceOf : DynamicParser )
62
+ ..bind (ParserBackend , toInstanceOf : DartGetterSetterGen );
63
63
Injector injector = new ModuleInjector ([module]);
64
64
65
65
runZoned (() {
Original file line number Diff line number Diff line change @@ -4,15 +4,15 @@ packages:
4
4
analyzer:
5
5
description: analyzer
6
6
source: hosted
7
- version: "0.15.7 "
7
+ version: "0.18.0 "
8
8
args:
9
9
description: args
10
10
source: hosted
11
11
version: "0.10.0+2"
12
12
barback:
13
13
description: barback
14
14
source: hosted
15
- version: "0.13.0 "
15
+ version: "0.14.1+3 "
16
16
benchmark_harness:
17
17
description: benchmark_harness
18
18
source: hosted
@@ -24,11 +24,11 @@ packages:
24
24
code_transformers:
25
25
description: code_transformers
26
26
source: hosted
27
- version: "0.1.4+2 "
27
+ version: "0.1.5 "
28
28
collection:
29
29
description: collection
30
30
source: hosted
31
- version: "0.9.2 "
31
+ version: "0.9.4 "
32
32
di:
33
33
description: di
34
34
source: hosted
@@ -44,7 +44,7 @@ packages:
44
44
intl:
45
45
description: intl
46
46
source: hosted
47
- version: "0.9 .10"
47
+ version: "0.8 .10+4 "
48
48
js:
49
49
description: js
50
50
source: hosted
@@ -56,15 +56,19 @@ packages:
56
56
matcher:
57
57
description: matcher
58
58
source: hosted
59
- version: "0.10.0"
59
+ version: "0.11.0"
60
+ meta:
61
+ description: meta
62
+ source: hosted
63
+ version: "0.8.8"
60
64
mock:
61
65
description: mock
62
66
source: hosted
63
- version: "0.11.0+1 "
67
+ version: "0.11.0+2 "
64
68
path:
65
69
description: path
66
70
source: hosted
67
- version: "1.2.0 "
71
+ version: "1.2.1 "
68
72
perf_api:
69
73
description: perf_api
70
74
source: hosted
@@ -80,20 +84,24 @@ packages:
80
84
source_maps:
81
85
description: source_maps
82
86
source: hosted
83
- version: "0.9.0 "
87
+ version: "0.9.3 "
84
88
stack_trace:
85
89
description: stack_trace
86
90
source: hosted
87
- version: "0.9.3+2"
91
+ version: "1.0.2"
92
+ typed_mock:
93
+ description: typed_mock
94
+ source: hosted
95
+ version: "0.0.4"
88
96
unittest:
89
97
description: unittest
90
98
source: hosted
91
- version: "0.11.0"
99
+ version: "0.11.0+3 "
92
100
utf:
93
101
description: utf
94
102
source: hosted
95
103
version: "0.9.0"
96
104
web_components:
97
105
description: web_components
98
106
source: hosted
99
- version: "0.3.4 "
107
+ version: "0.3.5+1 "
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ dependencies:
19
19
browser : ' >=0.10.0 <0.11.0'
20
20
code_transformers : ' >=0.1.4+2 <0.2.0'
21
21
collection : ' >=0.9.1 <1.0.0'
22
- di : ' >=2.0.0 <3.0.0'
22
+ di : ' >=2.0.1 <3.0.0'
23
23
html5lib : ' >=0.10.0 <0.11.0'
24
24
intl : ' >=0.8.7 <0.10.0'
25
25
perf_api : ' >=0.0.8 <0.1.0'
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ import 'generated_getter_setter.dart' as gen;
7
7
main () {
8
8
describe ('hybrid getter-setter' , () {
9
9
beforeEachModule ((Module module) {
10
- module..bind (Parser , inject : [ DynamicParser ] )
10
+ module..bind (Parser , toInstanceOf : DynamicParser )
11
11
..bind (ClosureMap , toValue: gen.closureMap);
12
12
});
13
13
parser_spec.main ();
You can’t perform that action at this time.
0 commit comments