From a13b40442eb8871bb5ae094a78d3bb21dd7b2ae3 Mon Sep 17 00:00:00 2001 From: Rex YE Date: Tue, 22 Nov 2016 14:26:51 +0000 Subject: [PATCH] fix compile errors. --- public/docs/ts/latest/guide/architecture.jade | 9 ++------- public/docs/ts/latest/guide/template-syntax.jade | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/public/docs/ts/latest/guide/architecture.jade b/public/docs/ts/latest/guide/architecture.jade index d5f81b111a..2dea4e1a2c 100644 --- a/public/docs/ts/latest/guide/architecture.jade +++ b/public/docs/ts/latest/guide/architecture.jade @@ -433,7 +433,7 @@ block ts-decorator The `@Component` decorator takes a required configuration object with the information Angular needs to create and present the component and its view. - `@Component`!{_decoratorCn}能接受一个配置对象,Angular会基于这些信息创建和展示组件及其视图。 + `@Component`!{_decoratorCn}能接受一个配置对象,Angular会基于这些信息创建和展示组件及其视图。 Here are a few of the possible `@Component` configuration options: @@ -482,11 +482,6 @@ figure 比如`@Injectable`、`@Input`和`@Output`等是一些最常用的!{_decoratorCn}。
- - 我们也会沿用类似的风格,用其它元数据!{_decoratorCn}来指导Angular的行为。 - 比如`@Injectable`、`@Input`和`@Output`等是一些最常用的!{_decoratorCn}。 - -
:marked The architectural takeaway is that you must add metadata to your code so that Angular knows what to do. @@ -996,7 +991,7 @@ code-example(). > [**Router**](router.html): Navigate from page to page within the client application and never leave the browser. - > [**路由器**](router.html):在应用程序客户端导航,并且不离开浏览器。 + > [**路由器**](router.html):在应用程序客户端导航,并且不离开浏览器。 > [**Testing**](testing.html): Run unit tests on your application parts as they interact with the Angular framework using the _Angular Testing Platform_. diff --git a/public/docs/ts/latest/guide/template-syntax.jade b/public/docs/ts/latest/guide/template-syntax.jade index 5bf4331617..d6dc40134b 100644 --- a/public/docs/ts/latest/guide/template-syntax.jade +++ b/public/docs/ts/latest/guide/template-syntax.jade @@ -1943,7 +1943,7 @@ block dart-no-truthy-falsey :marked A template input variable is **not** the same as a [template reference variable](#ref-vars)! - 模板输入变量和[模板引用变量](#ref-vars)**不是**一回事! + 模板输入变量和[模板引用变量](#ref-vars)**不是**一回事! :marked We use this variable within the template to access a hero’s properties,