Skip to content
This repository was archived by the owner on Feb 22, 2018. It is now read-only.

Commit 5f045ce

Browse files
committed
#126 upgrade Chapter 06 to angular version 0.13.0
1 parent 9d83253 commit 5f045ce

File tree

3 files changed

+30
-30
lines changed

3 files changed

+30
-30
lines changed

Chapter_06/pubspec.lock

+20-16
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ packages:
44
analyzer:
55
description: analyzer
66
source: hosted
7-
version: "0.13.5"
7+
version: "0.18.0"
88
angular:
99
description: angular
1010
source: hosted
11-
version: "0.10.0"
11+
version: "0.13.0"
1212
args:
1313
description: args
1414
source: hosted
@@ -24,31 +24,27 @@ packages:
2424
code_transformers:
2525
description: code_transformers
2626
source: hosted
27-
version: "0.1.3"
27+
version: "0.1.5"
2828
collection:
2929
description: collection
3030
source: hosted
3131
version: "0.9.1"
3232
di:
3333
description: di
3434
source: hosted
35-
version: "0.0.37"
35+
version: "2.0.1"
3636
html5lib:
3737
description: html5lib
3838
source: hosted
39-
version: "0.9.2"
39+
version: "0.10.0"
4040
http_server:
4141
description: http_server
4242
source: hosted
4343
version: "0.9.2"
4444
intl:
4545
description: intl
4646
source: hosted
47-
version: "0.9.8"
48-
js:
49-
description: js
50-
source: hosted
51-
version: "0.2.2"
47+
version: "0.8.10+4"
5248
logging:
5349
description: logging
5450
source: hosted
@@ -57,6 +53,10 @@ packages:
5753
description: matcher
5854
source: hosted
5955
version: "0.10.0"
56+
meta:
57+
description: meta
58+
source: hosted
59+
version: "0.8.8"
6060
mime:
6161
description: mime
6262
source: hosted
@@ -68,19 +68,15 @@ packages:
6868
path:
6969
description: path
7070
source: hosted
71-
version: "1.1.0"
71+
version: "1.2.2"
7272
perf_api:
7373
description: perf_api
7474
source: hosted
7575
version: "0.0.8"
7676
route_hierarchical:
7777
description: route_hierarchical
7878
source: hosted
79-
version: "0.4.18"
80-
shadow_dom:
81-
description: shadow_dom
82-
source: hosted
83-
version: "0.9.2"
79+
version: "0.4.21"
8480
source_maps:
8581
description: source_maps
8682
source: hosted
@@ -89,6 +85,10 @@ packages:
8985
description: stack_trace
9086
source: hosted
9187
version: "0.9.3+1"
88+
typed_mock:
89+
description: typed_mock
90+
source: hosted
91+
version: "0.0.4"
9292
unittest:
9393
description: unittest
9494
source: hosted
@@ -97,3 +97,7 @@ packages:
9797
description: utf
9898
source: hosted
9999
version: "0.9.0"
100+
web_components:
101+
description: web_components
102+
source: hosted
103+
version: "0.3.5+1"

Chapter_06/pubspec.yaml

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,8 @@
11
name: angular_dart_demo
22
version: 0.0.1
33
dependencies:
4-
angular: 0.10.0
5-
browser: any
6-
js: any
7-
shadow_dom: any
4+
angular: 0.13.0
85
http_server: any
9-
route_hierarchical: '>=0.4.18 <0.5.0'
106
dev_dependencies:
117
unittest: any
128
transformers:

Chapter_06/web/main.dart

+9-9
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ import 'package:angular_dart_demo/component/search_recipe_component.dart';
1515

1616
class MyAppModule extends Module {
1717
MyAppModule() {
18-
type(RecipeBookController);
19-
type(RatingComponent);
20-
type(Tooltip);
21-
type(CategoryFilter);
22-
type(SearchRecipeComponent);
23-
type(ViewRecipeComponent);
24-
type(QueryService);
25-
value(RouteInitializerFn, recipeBookRouteInitializer);
26-
factory(NgRoutingUsePushState,
18+
bind(RecipeBookController);
19+
bind(RatingComponent);
20+
bind(Tooltip);
21+
bind(CategoryFilter);
22+
bind(SearchRecipeComponent);
23+
bind(ViewRecipeComponent);
24+
bind(QueryService);
25+
bind(RouteInitializerFn, toValue: recipeBookRouteInitializer);
26+
bind(NgRoutingUsePushState, toFactory:
2727
(_) => new NgRoutingUsePushState.value(false));
2828
}
2929
}

0 commit comments

Comments
 (0)