From 873eea9e7e66b9b04f38b1969e76b236f7bbca3e Mon Sep 17 00:00:00 2001 From: "Zhimin YE (Rex)" Date: Tue, 16 Aug 2016 14:29:37 +0100 Subject: [PATCH] review: component-communication, testing, upgrade: fixes. --- public/docs/ts/latest/cookbook/component-communication.jade | 3 +-- public/docs/ts/latest/guide/testing.jade | 2 ++ public/docs/ts/latest/guide/upgrade.jade | 2 ++ 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/public/docs/ts/latest/cookbook/component-communication.jade b/public/docs/ts/latest/cookbook/component-communication.jade index 2ee79bd8da..347aa454df 100644 --- a/public/docs/ts/latest/cookbook/component-communication.jade +++ b/public/docs/ts/latest/cookbook/component-communication.jade @@ -256,8 +256,7 @@ parent-to-child-local-var 父组件不能使用数据绑定来读取子组件的属性或调用子组件的方法。但可以在父组件模板里,新建一个本地变量来代表子组件,然后利用这个变量来读取子组件的属性和调用子组件的方法,如下例所示。 - - + We have a child `CountdownTimerComponent` that repeatedly counts down to zero and launches a rocket. It has `start` and `stop` methods that control the clock and it displays a countdown status message in its own template. 子组件`CountdownTimerComponent`进行倒计时,归零时发射一个导弹。`start`和`stop`方法负责控制时钟并在模板里显示倒计时的状态信息。 diff --git a/public/docs/ts/latest/guide/testing.jade b/public/docs/ts/latest/guide/testing.jade index 4e173dba57..c669c2a652 100644 --- a/public/docs/ts/latest/guide/testing.jade +++ b/public/docs/ts/latest/guide/testing.jade @@ -3,6 +3,8 @@ We are still preparing the testing guide with all the new testing features introduced in RC5 and will update it very soon. + 我们应用所有RC5引进的新测试特征来编写新的测试指南,将会在不久的将来更新本章。 + :marked We write **unit tests** to explore and confirm the **behavior** of parts of our application. diff --git a/public/docs/ts/latest/guide/upgrade.jade b/public/docs/ts/latest/guide/upgrade.jade index 617aa6fa00..d413b6bb38 100644 --- a/public/docs/ts/latest/guide/upgrade.jade +++ b/public/docs/ts/latest/guide/upgrade.jade @@ -5,6 +5,8 @@ include ../_util-fns This guide is still in the process of being updated to RC5 and it's samples may not work correctly. + 我们正在为RC5更新本指南,目前本指南中的例子暂时不会正常运行。 + :marked Having an existing Angular 1 application doesn't mean that we can't begin enjoying everything Angular 2 has to offer. That's because Angular 2