Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 75452c9

Browse files
committed
update to alpha-29
1 parent c1ba841 commit 75452c9

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

public/docs/dart/latest/guide/displaying-data.jade

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
description: Dart version of Angular 2 example, Displaying Data
4949
version: 0.0.1
5050
dependencies:
51-
angular2: 2.0.0-alpha.28
51+
angular2: 2.0.0-alpha.29
5252
browser: ^0.10.0
5353
transformers:
5454
- angular2:
@@ -262,11 +262,12 @@
262262

263263
p.
264264
Next, make FriendsService available to dependency injection
265-
by adding an <code>appInjector</code> parameter to DisplayComponent's
265+
by adding a <code>viewInjector</code> parameter to DisplayComponent's
266266
<code>@Component</code> annotation:
267+
<!-- TODO: check with vsavkin: use viewInjector or hostInjector here? -->
267268

268269
code-example(language="dart").
269-
@Component(selector: 'display', <span class="pnk">appInjector: const [FriendsService]</span>)
270+
@Component(selector: 'display', <span class="pnk">viewInjector: const [FriendsService]</span>)
270271

271272
.l-main-section
272273
h2#Conditionally-displaying-data-with-NgIf Conditionally display data using *ng-if
@@ -300,7 +301,7 @@
300301
import 'package:angular2/angular2.dart';
301302
import 'package:displaying_data/friends_service.dart';
302303

303-
@Component(selector: 'display', appInjector: const [FriendsService])
304+
@Component(selector: 'display', viewInjector: const [FriendsService])
304305
@View(template: '''
305306
&lt;p&gt;My name: {{ myName }}&lt;/p&gt;
306307
&lt;p&gt;Friends:&lt;/p&gt;
@@ -359,7 +360,7 @@
359360
description: Displaying Data example
360361
version: 0.0.1
361362
dependencies:
362-
angular2: 2.0.0-alpha.28
363+
angular2: 2.0.0-alpha.29
363364
browser: ^0.10.0
364365
transformers:
365366
- angular2:

public/docs/dart/latest/guide/setup.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
description: Getting Started example
3131
version: 0.0.1
3232
dependencies:
33-
angular2: 2.0.0-alpha.28
33+
angular2: 2.0.0-alpha.29
3434
browser: ^0.10.0
3535
transformers:
3636
- angular2:

public/docs/dart/latest/guide/user-input.jade

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
description: User Input example
198198
version: 0.0.1
199199
dependencies:
200-
angular2: 2.0.0-alpha.28
200+
angular2: 2.0.0-alpha.29
201201
browser: ^0.10.0
202202
transformers:
203203
- angular2:

public/docs/dart/latest/quickstart.jade

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ p.
3838
specify the angular2 and browser packages as dependencies,
3939
as well as the angular2 transformer.
4040
Angular 2 is changing rapidly, so provide an exact version:
41-
<b>2.0.0-alpha.28</b>.
41+
<b>2.0.0-alpha.29</b>.
4242

4343
code-example(language="yaml" format="linenums").
4444
name: hello_world
4545
version: 0.0.1
4646
dependencies:
47-
angular2: 2.0.0-alpha.28
47+
angular2: 2.0.0-alpha.29
4848
browser: ^0.10.0
4949
transformers:
5050
- angular2:
@@ -252,9 +252,9 @@ p.
252252
[Info from Dart2JS]:
253253
Compiling hello_world|web/main.dart...
254254
[Info from Dart2JS]:
255-
Took 0:00:17.408082 to compile hello_world|web/main.dart.
256-
Built 65 files to "build".
257-
//- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.28
255+
Took 0:00:16.908569 to compile hello_world|web/main.dart.
256+
Built 75 files to "build".
257+
//- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.29
258258
259259
p.
260260
The generated JavaScript appears, along with supporting files,
@@ -273,7 +273,7 @@ p.
273273
name: hello_world
274274
version: 0.0.1
275275
dependencies:
276-
angular2: 2.0.0-alpha.28
276+
angular2: 2.0.0-alpha.29
277277
browser: ^0.10.0
278278
<span class="pnk">transformers:
279279
- angular2:

0 commit comments

Comments
 (0)