Skip to content

Commit add90b8

Browse files
committed
dart-archive#126 upgrade Chapter 04 to angular version 0.13.0
1 parent 4951153 commit add90b8

File tree

4 files changed

+26
-25
lines changed

4 files changed

+26
-25
lines changed

Chapter_04/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_04/pubspec.yaml

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
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
dev_dependencies:
96
unittest: any
107
transformers:

Chapter_04/web/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ <h3>Recipe Details</h3>
3636
<div><strong>Directions: </strong>{{ctrl.selectedRecipe.directions}}</div>
3737
</div>
3838
</div>
39-
40-
<script src="packages/shadow_dom/shadow_dom.min.js"></script>
39+
40+
<script src="packages/web_components/platform.js"></script>
4141
<script type="application/dart" src="main.dart"></script>
4242
<script type="text/javascript" src="packages/browser/dart.js"></script>
4343
</body>

Chapter_04/web/main.dart

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ import 'package:angular_dart_demo/tooltip/tooltip.dart';
99

1010
class MyAppModule extends Module {
1111
MyAppModule() {
12-
type(RecipeBookController);
13-
type(RatingComponent);
14-
type(Tooltip);
12+
bind(RecipeBookController);
13+
bind(RatingComponent);
14+
bind(Tooltip);
1515
}
1616
}
1717

0 commit comments

Comments
 (0)