文字微调

This commit is contained in:
Zhicheng Wang 2016-06-14 13:00:36 +08:00
parent bc2e4b83c0
commit df9a0177ea
1 changed files with 4 additions and 4 deletions

View File

@ -107,7 +107,7 @@ include _util-fns
:marked
The Angular [scoped packages](#scoped-package) each have a barrel named `index`.
Angular的每个[范围化包(Scoped Packages)](#scoped-package)都有一个叫做`index`的封装桶。
Angular的每个[范围化包(Scoped Package)](#scoped-package)都有一个叫做`index`的封装桶。
// #enddocregion b-c
:marked
That's why we can write this:
@ -603,7 +603,7 @@ include _util-fns
.l-main-section
:marked
## Lifecycle Hooks
## 生命周期钩子(Lifecycle Hooks)
## 生命周期钩子(Lifecycle Hook)
.l-sub-section
:marked
[Directives](#directive) and [Components](#component) have a lifecycle
@ -644,7 +644,7 @@ include _util-fns
Learn more in the [Lifecycle Hooks](/docs/ts/latest/guide/lifecycle-hooks.html) chapter.
要了解更多,参见[生命周期钩子(Lifecycle Hooks)](/docs/ts/latest/guide/lifecycle-hooks.html)一章。
要了解更多,参见[生命周期钩子(Lifecycle Hook)](/docs/ts/latest/guide/lifecycle-hooks.html)一章。
// #enddocregion f-l
// #docregion m1
@ -936,7 +936,7 @@ include _util-fns
code completion, refactoring, and intelligent search). Many code editors
and IDEs support TypeScript either natively or with plugins.
TypeScript同时也以它的可选类型系统著称。该类型系统给我们提供了编译期类型检查和强大的工具支持(比如“Intellisense” 自动代码补齐,重构和智能搜索等)。许多程序编辑器和开发环境都自带了TypeScript支持或通过插件提供支持。
TypeScript还以它的可选类型系统而著称。该类型系统给我们提供了编译期类型检查和强大的工具支持(比如“Intellisense” 自动代码补齐,重构和智能搜索等)。许多程序编辑器和开发环境都自带了TypeScript支持或通过插件提供支持。
TypeScript is the preferred language for Angular 2 development although
we are welcome to write in other JavaScript dialects such as [ES5](#es5).