From 373ba06e05e7dec83e0a0ef383559bc8cd2685f3 Mon Sep 17 00:00:00 2001 From: "Zhimin YE (Rex)" Date: Wed, 24 Aug 2016 14:25:47 +0100 Subject: [PATCH] fix: toh-pt5 --- public/docs/ts/latest/tutorial/toh-pt5.jade | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/public/docs/ts/latest/tutorial/toh-pt5.jade b/public/docs/ts/latest/tutorial/toh-pt5.jade index 73b47179c0..0fded7b4f1 100644 --- a/public/docs/ts/latest/tutorial/toh-pt5.jade +++ b/public/docs/ts/latest/tutorial/toh-pt5.jade @@ -381,12 +381,8 @@ block router-config-intro “路由定义”包括几个部分: * **path**: the router matches this route's path to the URL in the browser address bar (`!{_routePathPrefix}/heroes`). -
  • **name**: the official name of the route; - it *must* begin with a capital letter to avoid confusion with the *path* (`Heroes`).
  • * **path**: 路由器会用它来匹配路由中指定的路径和浏览器地址栏中的当前路径,如`!{_routePathPrefix}/heroes`。 -
  • **name**: the official name of the route; - it *must* begin with a capital letter to avoid confusion with the *path* (`Heroes`).
  • * **component**: the component that the router should create when navigating to this route (`HeroesComponent`). @@ -591,7 +587,7 @@ block redirect-vs-use-as-default :marked Learn about the *redirects* in the [Routing](../guide/router.html#!#redirect) chapter. - 要学习关于*重定向*的更多知识,参见[路由与导航](../guide/router.html#!#redirect)一章。 + 要学习关于*重定向*的更多知识,参见[路由与导航](../guide/router.html#!#redirect)一章。 :marked #### Add navigation to the template @@ -605,7 +601,6 @@ block redirect-vs-use-as-default - var _vers = _docsFor == 'dart' ? '' : '.1' +makeExcerpt('app/app.component' + _vers + '.ts', 'template-v3') -+makeExample('toh-5/ts/app/app.component.3.ts','template', 'app/app.component.ts (template)')(format=".") .l-sub-section :marked We nestled the two links within `