Skip to content

Commit 4951153

Browse files
committed
dart-archive#126 upgrade Chapter 03 to angular version 0.13.0
1 parent 4a137b8 commit 4951153

File tree

4 files changed

+25
-24
lines changed

4 files changed

+25
-24
lines changed

Chapter_03/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,27 +24,23 @@ 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
intl:
4141
description: intl
4242
source: hosted
43-
version: "0.9.8"
44-
js:
45-
description: js
46-
source: hosted
47-
version: "0.2.2"
43+
version: "0.8.10+4"
4844
logging:
4945
description: logging
5046
source: hosted
@@ -53,26 +49,26 @@ packages:
5349
description: matcher
5450
source: hosted
5551
version: "0.10.0"
52+
meta:
53+
description: meta
54+
source: hosted
55+
version: "0.8.8"
5656
mock:
5757
description: mock
5858
source: hosted
5959
version: "0.10.0+1"
6060
path:
6161
description: path
6262
source: hosted
63-
version: "1.1.0"
63+
version: "1.2.2"
6464
perf_api:
6565
description: perf_api
6666
source: hosted
6767
version: "0.0.8"
6868
route_hierarchical:
6969
description: route_hierarchical
7070
source: hosted
71-
version: "0.4.18"
72-
shadow_dom:
73-
description: shadow_dom
74-
source: hosted
75-
version: "0.9.2"
71+
version: "0.4.21"
7672
source_maps:
7773
description: source_maps
7874
source: hosted
@@ -81,6 +77,10 @@ packages:
8177
description: stack_trace
8278
source: hosted
8379
version: "0.9.3+1"
80+
typed_mock:
81+
description: typed_mock
82+
source: hosted
83+
version: "0.0.4"
8484
unittest:
8585
description: unittest
8686
source: hosted
@@ -89,3 +89,7 @@ packages:
8989
description: utf
9090
source: hosted
9191
version: "0.9.0"
92+
web_components:
93+
description: web_components
94+
source: hosted
95+
version: "0.3.5+1"

Chapter_03/pubspec.yaml

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
name: angular_dart_demo
2-
version: 0.0.1
2+
version: 0.0.2
33
dependencies:
4-
angular: 0.10.0
5-
browser: any
6-
js: any
7-
shadow_dom: any
4+
angular: 0.13.0
85
dev_dependencies:
96
unittest: any
107
transformers:

Chapter_03/web/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ <h3>Recipe Details</h3>
3535
</div>
3636
</div>
3737

38-
<script src="packages/shadow_dom/shadow_dom.min.js"></script>
38+
<script src="packages/web_components/platform.js"></script>
3939
<script type="application/dart" src="main.dart"></script>
4040
<script type="text/javascript" src="packages/browser/dart.js"></script>
4141
</body>

Chapter_03/web/main.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import 'package:angular_dart_demo/recipe_book.dart';
88

99
class MyAppModule extends Module {
1010
MyAppModule() {
11-
type(RecipeBookController);
12-
type(RatingComponent);
11+
bind(RecipeBookController);
12+
bind(RatingComponent);
1313
}
1414
}
1515

0 commit comments

Comments
 (0)