From 738b5509f88adf89f44fda44740f9b8df88dce9d Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Fri, 1 Jul 2016 05:39:39 -0700 Subject: [PATCH] examples(tutorial): misc fixes to issues from failed e2e Misc fixes to problems with the tutorial examples, as detected by the new e2e tests. Now the toh-4 index.html is identical to those of the previous parts. Fixes #1609. --- public/docs/_examples/toh-1/ts/index.html | 1 + public/docs/_examples/toh-2/ts/index.html | 2 +- public/docs/_examples/toh-4/dart/web/index.html | 4 ++++ public/docs/_examples/toh-4/ts/app/app.component.1.ts | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/public/docs/_examples/toh-1/ts/index.html b/public/docs/_examples/toh-1/ts/index.html index f784483eaa..e9c099696b 100644 --- a/public/docs/_examples/toh-1/ts/index.html +++ b/public/docs/_examples/toh-1/ts/index.html @@ -17,6 +17,7 @@ + Loading... diff --git a/public/docs/_examples/toh-2/ts/index.html b/public/docs/_examples/toh-2/ts/index.html index 485409815c..e9c099696b 100644 --- a/public/docs/_examples/toh-2/ts/index.html +++ b/public/docs/_examples/toh-2/ts/index.html @@ -1,7 +1,7 @@ - Angular 2 Tour of Heros + Angular 2 Tour of Heroes diff --git a/public/docs/_examples/toh-4/dart/web/index.html b/public/docs/_examples/toh-4/dart/web/index.html index 059daeed4c..3c09e8af9d 100644 --- a/public/docs/_examples/toh-4/dart/web/index.html +++ b/public/docs/_examples/toh-4/dart/web/index.html @@ -1,6 +1,10 @@ + Angular 2 Tour of Heroes + + + diff --git a/public/docs/_examples/toh-4/ts/app/app.component.1.ts b/public/docs/_examples/toh-4/ts/app/app.component.1.ts index 20ac18a660..9df27d44bd 100644 --- a/public/docs/_examples/toh-4/ts/app/app.component.1.ts +++ b/public/docs/_examples/toh-4/ts/app/app.component.1.ts @@ -34,9 +34,11 @@ export class AppComponent implements OnInit { // #enddocregion heroes-prop selectedHero: Hero; + /* // #docregion new-service heroService = new HeroService(); // don't do this // #enddocregion new-service + */ // #docregion ctor constructor(private heroService: HeroService) { } // #enddocregion ctor