fix: 把烹饪书换成烹饪宝典

This commit is contained in:
Zhicheng Wang 2018-03-22 17:30:09 +08:00
parent 2b2b537008
commit 886f7da931
4 changed files with 9 additions and 9 deletions

View File

@ -13,7 +13,7 @@ Angular 的文档将持续不断的更新和改进。本日志记录了近期最
## All mention of moduleId removed. "Component relative paths" guide deleted (2017-03-13) ## All mention of moduleId removed. "Component relative paths" guide deleted (2017-03-13)
## 移除了所有的 moduleId 引用。移除了“组件相对路径” 的烹饪书。(2017-03-13) ## 移除了所有的 moduleId 引用。移除了“组件相对路径” 的指南。(2017-03-13)
We added a new SystemJS plugin (systemjs-angular-loader.js) to our recommended SystemJS configuration. We added a new SystemJS plugin (systemjs-angular-loader.js) to our recommended SystemJS configuration.
This plugin dynamically converts "component-relative" paths in templateUrl and styleUrls to "absolute paths" for you. This plugin dynamically converts "component-relative" paths in templateUrl and styleUrls to "absolute paths" for you.
@ -332,14 +332,14 @@ Docs and code samples updated and tested with Angular v.2.1.0.
## NEW "Ahead of time (AOT) Compilation" guide (2016-10-11) ## NEW "Ahead of time (AOT) Compilation" guide (2016-10-11)
## 添加了新的“预编译(AOT)"烹饪书(2016-10-11) ## 添加了新的“预编译(AOT)" 指南(2016-10-11)
The NEW [Ahead of time (AOT) Compilation](guide/aot-compiler) guide The NEW [Ahead of time (AOT) Compilation](guide/aot-compiler) guide
explains what AOT compilation is and why you'd want it. explains what AOT compilation is and why you'd want it.
It demonstrates the basics with a QuickStart app It demonstrates the basics with a QuickStart app
followed by the more advanced considerations of compiling and bundling the Tour of Heroes. followed by the more advanced considerations of compiling and bundling the Tour of Heroes.
全新[预编译(AOT)](guide/aot-compiler)烹饪书介绍了什么是 AOT 编译和为何你需要它。 全新[预编译(AOT)](guide/aot-compiler)指南介绍了什么是 AOT 编译和为何你需要它。
它以**快速上手**应用程序开始讲解,接着介绍了编译和构建**英雄指南**的更高级的注意事项。 它以**快速上手**应用程序开始讲解,接着介绍了编译和构建**英雄指南**的更高级的注意事项。
## Sync with Angular v.2.0.2 (2016-10-6) ## Sync with Angular v.2.0.2 (2016-10-6)
@ -365,16 +365,16 @@ All guided samples with routing use the _Routing Module_ and prose content has b
most conspicuously in the most conspicuously in the
[NgModule](guide/ngmodules) guide and [NgModule FAQ](guide/ngmodule-faq) guide. [NgModule](guide/ngmodules) guide and [NgModule FAQ](guide/ngmodule-faq) guide.
所有使用路由的例子都使用**路由模块**,相关内容也被更新。更新最多的是[Angular 模块NgModule](guide/ngmodules)章和[Angular 模块常见问题](guide/ngmodule-faq)烹饪书 所有使用路由的例子都使用**路由模块**,相关内容也被更新。更新最多的是[Angular 模块NgModule](guide/ngmodules)章和[Angular 模块常见问题](guide/ngmodule-faq)指南
## New "Internationalization" guide (2016-09-30) ## New "Internationalization" guide (2016-09-30)
## 全新“国际化”烹饪书(2016-09-30) ## 全新“国际化”指南(2016-09-30)
Added a new [Internationalization (i18n)](guide/i18n) guide that shows how Added a new [Internationalization (i18n)](guide/i18n) guide that shows how
to use Angular "i18n" facilities to translate template text into multiple languages. to use Angular "i18n" facilities to translate template text into multiple languages.
添加了新的[国际化(i18n)](guide/i18n)烹饪书,展示了如何使用 Angular 的“i18n”工具来讲模板文本翻译到多种语言。 添加了新的[国际化(i18n)](guide/i18n)指南,展示了如何使用 Angular 的“i18n”工具来讲模板文本翻译到多种语言。
## "angular-in-memory-web-api" package rename (2016-09-27) ## "angular-in-memory-web-api" package rename (2016-09-27)

View File

@ -10,7 +10,7 @@ This page shows how to validate user input in the UI and display useful validati
using both reactive and template-driven forms. It assumes some basic knowledge of the two using both reactive and template-driven forms. It assumes some basic knowledge of the two
forms modules. forms modules.
在本烹饪书中,你展示在界面中如何验证用户输入,并显示有用的验证信息,先使用模板驱动表单方式,再使用响应式表单方式。 本文展示了如何在界面中如何验证用户输入,并显示有用的验证信息,先使用模板驱动表单方式,再使用响应式表单方式。
<div class="l-sub-section"> <div class="l-sub-section">

View File

@ -308,7 +308,7 @@ In real apps, most form controls have both.
This guide touches only briefly on `Validators`. For an in-depth look at them, This guide touches only briefly on `Validators`. For an in-depth look at them,
read the [Form Validation](guide/form-validation) guide. read the [Form Validation](guide/form-validation) guide.
本章中只会接触 `Validators` 中的一点点,要想更深入的了解它们,请阅读烹饪宝典中的[表单验证](guide/form-validation)一章。 本章中只会接触 `Validators` 中的一点点,要想更深入的了解它们,请阅读[表单验证](guide/form-validation)一章。
</div> </div>

View File

@ -218,7 +218,7 @@ For information about dynamically constructing forms in a safe way, see the
离线模板编译器阻止了一整套被称为“模板注入”的漏洞,并能显著增强应用程序的性能。尽量在产品发布时使用离线模板编译器, 离线模板编译器阻止了一整套被称为“模板注入”的漏洞,并能显著增强应用程序的性能。尽量在产品发布时使用离线模板编译器,
而不要动态生成模板(比如在代码中拼接字符串生成模板)。由于 Angular 会信任模板本身的代码,所以,动态生成的模板 —— 特别是包含用户数据的模板 —— 会绕过 Angular 自带的保护机制。 而不要动态生成模板(比如在代码中拼接字符串生成模板)。由于 Angular 会信任模板本身的代码,所以,动态生成的模板 —— 特别是包含用户数据的模板 —— 会绕过 Angular 自带的保护机制。
要了解如何用安全的方式动态创建表单,请参见[动态表单烹饪宝典](guide/dynamic-form)一章。 要了解如何用安全的方式动态创建表单,请参见[动态表单](guide/dynamic-form)一章。
### Server-side XSS protection ### Server-side XSS protection