update quick start to 26, for realsies

This commit is contained in:
Kathy Walrath 2015-06-05 11:58:51 -07:00
parent 1d06a4a6fc
commit 299700c26c
1 changed files with 15 additions and 15 deletions

View File

@ -38,14 +38,14 @@ p.
specify the angular2 and browser packages as dependencies,
as well as the angular2 transformer.
Angular 2 is changing rapidly, so provide an exact version:
<b>2.0.0-alpha.25</b>.
<b>2.0.0-alpha.26</b>.
code-example(language="yaml" format="linenums").
name: hello_world
version: 0.0.1
dependencies:
angular2: 2.0.0-alpha.25
browser: ^0.10.0+2
angular2: 2.0.0-alpha.26
browser: ^0.10.0
transformers:
- angular2:
entry_points: web/main.dart
@ -79,8 +79,8 @@ p.
code-example(language="dart" format="linenums").
import 'package:angular2/angular2.dart';
import 'package:angular2/src/reflection/reflection.dart' show reflector;
import 'package:angular2/src/reflection/reflection_capabilities.dart' show ReflectionCapabilities;
import 'package:angular2/src/reflection/reflection_capabilities.dart'
show ReflectionCapabilities;
//- STEP 3 - Define a component ##########################
.l-main-section
@ -90,7 +90,7 @@ p.
Update <code>web/main.dart</code>, adding the following code
after the imports:
code-example(language="dart" format="linenums:5").
code-example(language="dart" format="linenums:6").
@Component(
selector: 'my-app'
)
@ -161,7 +161,7 @@ p.
p.
Add the following code to the bottom of <code>web/main.dart</code>:
code-example(language="dart" format="linenums:15").
code-example(language="dart" format="linenums:16").
main() {
reflector.reflectionCapabilities = new ReflectionCapabilities();
bootstrap(AppComponent);
@ -245,16 +245,16 @@ p.
code-example(language="basic").
&gt; <span class="blk">pub build</span>
Loading source assets...
Loading angular2 transformers...
Loading source assets...
Loading angular2 transformers...
INFO: Formatter is being overwritten.
Building hello_world... (3.1s)
Building hello_world... (3.8s)
[Info from Dart2JS]:
Compiling hello_world|web/main.dart...
[Info from Dart2JS]:
Took 0:00:16.123086 to compile hello_world|web/main.dart.
Built 41 files to "build".
//- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.25
Took 0:00:15.612746 to compile hello_world|web/main.dart.
Built 63 files to "build".
//- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.26
p.
The generated JavaScript appears, along with supporting files,
@ -273,8 +273,8 @@ p.
name: hello_world
version: 0.0.1
dependencies:
angular2: 2.0.0-alpha.25
browser: ^0.10.0+2
angular2: 2.0.0-alpha.26
browser: ^0.10.0
<span class="pnk">transformers:
- angular2:
entry_points: web/main.dart</span>