From 2842058a3091ee3fdcd7a8e4a861bebeaf627a2f Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Tue, 3 May 2016 12:19:50 -0600 Subject: [PATCH] docs(router): document new router and samples - phase 2 --- .../docs/_examples/router-deprecated/e2e-spec.js | 3 ++- .../router-deprecated/ts/app/app.component.1.ts | 2 +- .../router-deprecated/ts/app/app.component.2.ts | 2 +- .../router-deprecated/ts/app/app.component.3.ts | 2 +- .../router-deprecated/ts/app/app.component.ts | 2 +- .../_examples/router-deprecated/ts/index.1.html | 2 +- .../_examples/router-deprecated/ts/index.2.html | 2 +- .../_examples/router-deprecated/ts/index.3.html | 2 +- .../_examples/router-deprecated/ts/index.html | 2 +- public/docs/_examples/router/e2e-spec.js | 3 ++- public/docs/ts/latest/guide/router.jade | 16 ++++++++-------- 11 files changed, 20 insertions(+), 18 deletions(-) diff --git a/public/docs/_examples/router-deprecated/e2e-spec.js b/public/docs/_examples/router-deprecated/e2e-spec.js index bd3f84ee83..4e3018b5c2 100644 --- a/public/docs/_examples/router-deprecated/e2e-spec.js +++ b/public/docs/_examples/router-deprecated/e2e-spec.js @@ -92,7 +92,8 @@ describe('Router', function () { function crisisCenterEdit(index, shouldSave) { var page = getPageStruct(); var crisisEle, crisisText; - page.crisisHref.click().then(function () { + page.crisisHref.click() + .then(function () { crisisEle = page.crisisList.get(index); return crisisEle.getText(); }).then(function (text) { diff --git a/public/docs/_examples/router-deprecated/ts/app/app.component.1.ts b/public/docs/_examples/router-deprecated/ts/app/app.component.1.ts index 0ceeb73848..0e20623fd3 100644 --- a/public/docs/_examples/router-deprecated/ts/app/app.component.1.ts +++ b/public/docs/_examples/router-deprecated/ts/app/app.component.1.ts @@ -14,7 +14,7 @@ import { HeroListComponent } from './hero-list.component'; selector: 'my-app', // #docregion template template: ` -

Component Router

+

Component Router (Deprecated)