Update to alpha-28

Only changes are to version numbers, command output, and a couple of places where I said web but should've said lib.
This commit is contained in:
Kathy Walrath 2015-07-01 17:02:06 -07:00
parent 67851e3513
commit c1ba841d69
4 changed files with 15 additions and 14 deletions

View File

@ -48,7 +48,7 @@
description: Dart version of Angular 2 example, Displaying Data description: Dart version of Angular 2 example, Displaying Data
version: 0.0.1 version: 0.0.1
dependencies: dependencies:
angular2: 2.0.0-alpha.26 angular2: 2.0.0-alpha.28
browser: ^0.10.0 browser: ^0.10.0
transformers: transformers:
- angular2: - angular2:
@ -227,11 +227,11 @@
p. p.
Make a <code>FriendsService</code> class to implement a model Make a <code>FriendsService</code> class to implement a model
containing a list of friends. containing a list of friends.
Put this in a new file under <code>web/</code> Put this in a new file under <code>lib/</code>
named <code>friends_service.dart</code>. Here's what the class looks like: named <code>friends_service.dart</code>. Here's what the class looks like:
code-example(language="dart" format="linenums"). code-example(language="dart" format="linenums").
// web/friends_service.dart // lib/friends_service.dart
library displaying_data.friends_service; library displaying_data.friends_service;
import 'package:angular2/angular2.dart'; import 'package:angular2/angular2.dart';
@ -248,7 +248,7 @@
Then set <code>friendNames</code> to the names provided by the service. Then set <code>friendNames</code> to the names provided by the service.
code-example(language="dart"). code-example(language="dart").
// In web/show_properties.dart // In lib/show_properties.dart
<span class="pnk">import 'package:displaying_data/friends_service.dart';</span> <span class="pnk">import 'package:displaying_data/friends_service.dart';</span>
... ...
class DisplayComponent { class DisplayComponent {
@ -359,7 +359,7 @@
description: Displaying Data example description: Displaying Data example
version: 0.0.1 version: 0.0.1
dependencies: dependencies:
angular2: 2.0.0-alpha.26 angular2: 2.0.0-alpha.28
browser: ^0.10.0 browser: ^0.10.0
transformers: transformers:
- angular2: - angular2:

View File

@ -30,7 +30,7 @@
description: Getting Started example description: Getting Started example
version: 0.0.1 version: 0.0.1
dependencies: dependencies:
angular2: 2.0.0-alpha.26 angular2: 2.0.0-alpha.28
browser: ^0.10.0 browser: ^0.10.0
transformers: transformers:
- angular2: - angular2:

View File

@ -52,6 +52,7 @@
'Breathe', 'Breathe',
'Learn Angular' 'Learn Angular'
]; ];
addTodo(String todo) { addTodo(String todo) {
todos.add(todo); todos.add(todo);
} }
@ -196,7 +197,7 @@
description: User Input example description: User Input example
version: 0.0.1 version: 0.0.1
dependencies: dependencies:
angular2: 2.0.0-alpha.26 angular2: 2.0.0-alpha.28
browser: ^0.10.0 browser: ^0.10.0
transformers: transformers:
- angular2: - angular2:

View File

@ -38,13 +38,13 @@ p.
specify the angular2 and browser packages as dependencies, specify the angular2 and browser packages as dependencies,
as well as the angular2 transformer. as well as the angular2 transformer.
Angular 2 is changing rapidly, so provide an exact version: Angular 2 is changing rapidly, so provide an exact version:
<b>2.0.0-alpha.26</b>. <b>2.0.0-alpha.28</b>.
code-example(language="yaml" format="linenums"). code-example(language="yaml" format="linenums").
name: hello_world name: hello_world
version: 0.0.1 version: 0.0.1
dependencies: dependencies:
angular2: 2.0.0-alpha.26 angular2: 2.0.0-alpha.28
browser: ^0.10.0 browser: ^0.10.0
transformers: transformers:
- angular2: - angular2:
@ -248,13 +248,13 @@ p.
Loading source assets... Loading source assets...
Loading angular2 transformers... Loading angular2 transformers...
INFO: Formatter is being overwritten. INFO: Formatter is being overwritten.
Building hello_world... (3.8s) Building hello_world... (4.2s)
[Info from Dart2JS]: [Info from Dart2JS]:
Compiling hello_world|web/main.dart... Compiling hello_world|web/main.dart...
[Info from Dart2JS]: [Info from Dart2JS]:
Took 0:00:15.612746 to compile hello_world|web/main.dart. Took 0:00:17.408082 to compile hello_world|web/main.dart.
Built 63 files to "build". Built 65 files to "build".
//- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.26 //- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.28
p. p.
The generated JavaScript appears, along with supporting files, The generated JavaScript appears, along with supporting files,
@ -273,7 +273,7 @@ p.
name: hello_world name: hello_world
version: 0.0.1 version: 0.0.1
dependencies: dependencies:
angular2: 2.0.0-alpha.26 angular2: 2.0.0-alpha.28
browser: ^0.10.0 browser: ^0.10.0
<span class="pnk">transformers: <span class="pnk">transformers:
- angular2: - angular2: