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

Commit aa8ab52

Browse files
filipesilvanaomiblack
authored andcommitted
chore: update to rc.4
1 parent 509cae5 commit aa8ab52

File tree

3 files changed

+12
-21
lines changed

3 files changed

+12
-21
lines changed

public/docs/_examples/package.json

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,18 @@
2525
"author": "",
2626
"license": "ISC",
2727
"dependencies": {
28-
"@angular/common": "2.0.0-rc.3",
29-
"@angular/compiler": "2.0.0-rc.3",
30-
"@angular/core": "2.0.0-rc.3",
31-
"@angular/forms": "0.1.1",
32-
"@angular/http": "2.0.0-rc.3",
33-
"@angular/platform-browser": "2.0.0-rc.3",
34-
"@angular/platform-browser-dynamic": "2.0.0-rc.3",
35-
"@angular/router": "3.0.0-alpha.8",
28+
29+
"@angular/common": "2.0.0-rc.4",
30+
"@angular/compiler": "2.0.0-rc.4",
31+
"@angular/core": "2.0.0-rc.4",
32+
"@angular/forms": "0.2.0",
33+
"@angular/http": "2.0.0-rc.4",
34+
"@angular/platform-browser": "2.0.0-rc.4",
35+
"@angular/platform-browser-dynamic": "2.0.0-rc.4",
36+
"@angular/router": "3.0.0-beta.1",
3637
"@angular/router-deprecated": "2.0.0-rc.2",
37-
"@angular/upgrade": "2.0.0-rc.3",
38-
"angular2-in-memory-web-api": "0.0.13",
38+
"@angular/upgrade": "2.0.0-rc.4",
39+
"angular2-in-memory-web-api": "0.0.14",
3940
"bootstrap": "^3.3.6",
4041
"core-js": "^2.4.0",
4142
"reflect-metadata": "^0.1.3",

public/docs/_examples/template-syntax/ts/app/app.component.html

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -589,18 +589,9 @@ <h4 id="ngFor-trackBy">NgForTrackBy</h4>
589589
<div *ngFor="let hero of heroes trackBy:trackByHeroes">({{hero.id}}) {{hero.fullName}}</div>
590590
</div>
591591

592-
<p>with <i>*ngForTrackBy</i></p>
593-
<div class="box">
594-
<!-- #docregion NgForTrackBy-2 -->
595-
<div *ngFor="let hero of heroes" *ngForTrackBy="trackByHeroes">({{hero.id}}) {{hero.fullName}}</div>
596-
<!-- #enddocregion NgForTrackBy-2 -->
597-
</div>
598-
599592
<p>with <i>generic</i> trackById function</p>
600593
<div class="box">
601-
<!-- #docregion NgForTrackBy-3 -->
602-
<div *ngFor="let hero of heroes" *ngForTrackBy="trackById">({{hero.id}}) {{hero.fullName}}</div>
603-
<!-- #enddocregion NgForTrackBy-3 -->
594+
<div *ngFor="let hero of heroes, trackBy:trackById">({{hero.id}}) {{hero.fullName}}</div>
604595
</div>
605596

606597
<a class="to-toc" href="#toc">top</a>

public/docs/ts/latest/guide/template-syntax.jade

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1139,7 +1139,6 @@ block dart-no-truthy-falsey
11391139
+makeExample('template-syntax/ts/app/app.component.ts', 'trackByHeroes')(format=".")
11401140
:marked
11411141
Now set the `NgForTrackBy` directive to that *tracking* function.
1142-
Angular offers a variety of equivalent syntax choices including these two:
11431142
+makeExample('template-syntax/ts/app/app.component.html', 'NgForTrackBy-2')(format=".")
11441143
:marked
11451144
The *tracking* function doesn't eliminate all DOM changes.

0 commit comments

Comments
 (0)