文字微调

This commit is contained in:
Zhicheng Wang 2016-06-14 13:00:36 +08:00
parent bc2e4b83c0
commit df9a0177ea

View File

@ -107,7 +107,7 @@ include _util-fns
:marked :marked
The Angular [scoped packages](#scoped-package) each have a barrel named `index`. 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 // #enddocregion b-c
:marked :marked
That's why we can write this: That's why we can write this:
@ -603,7 +603,7 @@ include _util-fns
.l-main-section .l-main-section
:marked :marked
## Lifecycle Hooks ## Lifecycle Hooks
## 生命周期钩子(Lifecycle Hooks) ## 生命周期钩子(Lifecycle Hook)
.l-sub-section .l-sub-section
:marked :marked
[Directives](#directive) and [Components](#component) have a lifecycle [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. 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 // #enddocregion f-l
// #docregion m1 // #docregion m1
@ -936,7 +936,7 @@ include _util-fns
code completion, refactoring, and intelligent search). Many code editors code completion, refactoring, and intelligent search). Many code editors
and IDEs support TypeScript either natively or with plugins. 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 TypeScript is the preferred language for Angular 2 development although
we are welcome to write in other JavaScript dialects such as [ES5](#es5). we are welcome to write in other JavaScript dialects such as [ES5](#es5).