From cc3379859702956aaf4e28deaa4fc41f0ba4ddc2 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Fri, 4 Aug 2017 08:58:13 +0800 Subject: [PATCH] fix: same examples --- aio/content/guide/attribute-directives.md | 2 +- aio/content/guide/lifecycle-hooks.md | 7 +------ 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/aio/content/guide/attribute-directives.md b/aio/content/guide/attribute-directives.md index 586c44cdf5..b14a1c3382 100644 --- a/aio/content/guide/attribute-directives.md +++ b/aio/content/guide/attribute-directives.md @@ -584,7 +584,7 @@ Add a second **input** property to `HighlightDirective` called `defaultColor`: 把第二个名叫`defaultColor`的**输入**属性添加到`HighlightDirective`中: - + diff --git a/aio/content/guide/lifecycle-hooks.md b/aio/content/guide/lifecycle-hooks.md index 3a5c3a70f3..9303853bb1 100644 --- a/aio/content/guide/lifecycle-hooks.md +++ b/aio/content/guide/lifecycle-hooks.md @@ -615,7 +615,7 @@ Use `ngOnInit()` for two main reasons: Experienced developers agree that components should be cheap and safe to construct. -有经验的开发者认同组件的构建应该很便宜和安全。 +有经验的开发者会认同组件的构建应该很便宜和安全。
@@ -1012,11 +1012,6 @@ which can only be reached by querying for them via the property decorated with 下列*AfterContent*钩子基于*子级内容*中值的变化而采取相应的行动,这里我们只能通过带有[@ContentChild](api/core/ContentChild)装饰器的属性来查询到“子级内容”。 - - - - - {@a no-unidirectional-flow-worries} ### No unidirectional flow worries with _AfterContent_