8000 update quick start to 26, for realsies · rusongyu/angular.io@299700c · GitHub
[go: up one dir, main page]

Skip to content

Commit 299700c

Browse files
committed
update quick start to 26, for realsies
1 parent 1d06a4a commit 299700c

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

public/docs/dart/latest/quickstart.jade

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ 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.25</b>.
41+
<b>2.0.0-alpha.26</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.25
48-
browser: ^0.10.0+2
47+
angular2: 2.0.0-alpha.26
48+
browser: ^0.10.0
4949
transformers:
5050
- angular2:
5151
entry_points: web/main.dart
@@ -79,8 +79,8 @@ p.
7979
code-example(language="dart" format="linenums").
8080
import 'package:angular2/angular2.dart';
8181
import 'package:angular2/src/reflection/reflection.dart' show reflector;
82-
import 'package:angular2/src/reflection/reflection_capabilities.dart' show ReflectionCapabilities;
83-
82+
import 'package:angular2/src/reflection/reflection_capabilities.dart'
83+
show ReflectionCapabilities;
8484
//- STEP 3 - Define a component ##########################
8585
.l-main-section
8686

@@ -90,7 +90,7 @@ p.
9090
Update <code>web/main.dart</code>, adding the following code
9191
after the imports:
9292

93-
code-example(language="dart" format="linenums:5").
93+
code-example(language="dart" format="linenums:6").
9494
@Component(
9595
selector: 'my-app'
9696
)
@@ -161,7 +161,7 @@ p.
161161
p.
162162
Add the following code to the bottom of <code>web/main.dart</code>:
163163

164-
code-example(language="dart" format="linenums:15").
164+
code-example(language="dart" format="linenums:16").
165165
main() {
166166
reflector.reflectionCapabilities = new ReflectionCapabilities();
167167
bootstrap(AppComponent);
@@ -245,16 +245,16 @@ p.
245245

246246
code-example(language="basic").
247247
&gt; <span class="blk">pub build</span>
248-
Loading source assets...
249-
Loading angular2 transformers...
248+
Loading source assets...
249+
Loading angular2 transformers...
250250
INFO: Formatter is being overwritten.
251-
Building hello_world... (3.1s)
251+
Building hello_world... (3.8s)
252252
[Info from Dart2JS]:
253253
Compiling hello_world|web/main.dart...
254254
[Info from Dart2JS]:
255-
Took 0:00:16.123086 to compile hello_world|web/main.dart.
256-
Built 41 files to "build".
257-
//- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.25
255+
Took 0:00:15.612746 to compile hello_world|web/main.dart.
256+
Built 63 files to "build".
257+
//- REGENERATE THIS OUTPUT - or delete it? - when updating from 2.0.0-alpha.26
258258
259259
p.
260260
The generated JavaScript appears, along with supporting files,
@@ -273,8 +273,8 @@ p.
273273
name: hello_world
274274
version: 0.0.1
275275
dependencies:
276-
angular2: 2.0.0-alpha.25
277-
browser: ^0.10.0+2
276+
angular2: 2.0.0-alpha.26
277+
browser: ^0.10.0
278278
<span class="pnk">transformers:
279279
- angular2:
280280
entry_points: web/main.dart</span>

0 commit comments

Comments
 (0)
0