From 3136cc77ad1ca8f83e92f213c204f3250dbae772 Mon Sep 17 00:00:00 2001 From: Zhicheng Wang Date: Wed, 7 Mar 2018 16:15:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E6=8A=8A=E6=89=80=E6=9C=89=20plunker=20?= =?UTF-8?q?=E6=9B=BF=E6=8D=A2=E4=B8=BA=20Stackblitz?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- aio/content/guide/npm-packages.md | 3 +-- aio/content/guide/reactive-forms.md | 8 ++++---- aio/content/guide/router.md | 4 ++-- aio/content/guide/setup-systemjs-anatomy.md | 2 +- aio/content/guide/setup.md | 6 +++--- 5 files changed, 11 insertions(+), 12 deletions(-) diff --git a/aio/content/guide/npm-packages.md b/aio/content/guide/npm-packages.md index 1a436f17c8..de90c9ee7e 100644 --- a/aio/content/guide/npm-packages.md +++ b/aio/content/guide/npm-packages.md @@ -146,8 +146,7 @@ for bootstrapping applications for production builds that pre-compile with [AOT] and methods to compile and run the app on the client using the [JIT compiler](guide/aot-compiler). -**@angular/platform-browser-dynamic**: 为应用程序提供一些[提供商](api/core/Provider)和[bootstrap](guide/ngmodule#bootstrap)方法,以便在客户端编译模板。不要用于离线编译。 -我们使用这个包在开发期间引导应用,以及引导plunker中的范例。 +**@angular/platform-browser-dynamic**: 为应用程序提供一些[提供商](api/core/Provider)和方法,以便在客户端使用 [JIT 编译器](guide/aot-compiler)运行本应用。 **@angular/router**: The [router module](/guide/router) navigates among your app pages when the browser URL changes. diff --git a/aio/content/guide/reactive-forms.md b/aio/content/guide/reactive-forms.md index 705e292fde..64d8a07138 100644 --- a/aio/content/guide/reactive-forms.md +++ b/aio/content/guide/reactive-forms.md @@ -12,12 +12,12 @@ This guide explains reactive forms as you follow the steps to build a "Hero Deta Try the Reactive Forms live-example. -试试响应式表单的在线例子。 +试试响应式表单的在线例子。 You can also run the Reactive Forms Demo version and choose one of the intermediate steps from the "demo picker" at the top. -你还可以运行响应式表单的演示程序,并从顶部选取一个中间步骤。 +你还可以运行响应式表单的演示程序,并从顶部选取一个中间步骤。 {@a intro} @@ -1793,7 +1793,7 @@ This is the final step in the demo. Try the . 这是本演示的最后一步。 -去试试吧。 +去试试吧。 ## Summary @@ -1881,4 +1881,4 @@ You can download the complete source for all steps in this guide from the Reactive Forms Demo live example. -你可以到响应式表单在线例子中下载本章所有步骤的完整代码。 +你可以到响应式表单在线例子中下载本章所有步骤的完整代码。 diff --git a/aio/content/guide/router.md b/aio/content/guide/router.md index c9d4bd63d1..436b0887c6 100644 --- a/aio/content/guide/router.md +++ b/aio/content/guide/router.md @@ -1214,7 +1214,7 @@ set the `href` value in **`index.html`** *exactly* as shown here. A live coding environment like Stackblitz sets the application base address dynamically so you can't specify a fixed address. That's why the example code replaces the `` with a script that writes the `` tag on the fly. -像Plunker这样的在线编程环境会动态设置应用的基地址(base href),因此我们没办法指定固定的地址。 +像Stackblitz这样的在线编程环境会动态设置应用的基地址(base href),因此我们没办法指定固定的地址。 这就是为什么我们要用一个脚本动态写入``标签,而不是直接写``。 @@ -5527,7 +5527,7 @@ You've covered a lot of ground in this guide and the application is too big to r Please visit the where you can download the final source code. -本章中涉及到了很多背景知识,而且本应用程序也太大了,所以没法在这里显示。请访问,在那里你可以下载最终的源码。 +本章中涉及到了很多背景知识,而且本应用程序也太大了,所以没法在这里显示。请访问,在那里你可以下载最终的源码。 {@a appendices} diff --git a/aio/content/guide/setup-systemjs-anatomy.md b/aio/content/guide/setup-systemjs-anatomy.md index 5bf5924c31..af8f5dd750 100644 --- a/aio/content/guide/setup-systemjs-anatomy.md +++ b/aio/content/guide/setup-systemjs-anatomy.md @@ -76,7 +76,7 @@ If you do, this page can help you understand their purpose. and the unit test as _live examples_. - 在live example中试试范例程序单元测试 + 在live example中试试范例程序单元测试 diff --git a/aio/content/guide/setup.md b/aio/content/guide/setup.md index effeb229b2..c2677689fe 100644 --- a/aio/content/guide/setup.md +++ b/aio/content/guide/setup.md @@ -315,7 +315,7 @@ The following are all in `src/` You'll learn about alternative compiling and [deployment](guide/deployment) options later in the documentation. 使[即时 (JiT) 编译器](guide/glossary#jit)用编译应用并且在浏览器中[启动](guide/bootstrapping#main "启动应用")并运行应用。 - 对于大多数项目的开发,这都是合理的选择。而且它是在像 Plunker 这样的*在线编程*环境中运行例子的唯一选择。 + 对于大多数项目的开发,这都是合理的选择。而且它是在像 Stackblitz 这样的*在线编程*环境中运行例子的唯一选择。 你将在本文档中学习其他编译和开发选择。 @@ -380,7 +380,7 @@ use other versions of node and npm. Live coding in the browser is a great way to explore Angular. -在浏览器中在线编程是很好的探索 Angular 的方法。 +在浏览器中在线编程是很好的探索 Angular 的方法。 Links on almost every documentation page open completed samples in the browser. You can play with the sample code, share your changes with friends, and download and run the code on your own machine. @@ -424,7 +424,7 @@ It's the perfect place to reproduce a bug when you want to file a documentation issue or file an issue with Angular itself. -把在线编程环境当做*游乐场*,一个尝试文档例子和自己做实验的地方。 +把在线编程环境当做*游乐场*,一个尝试文档例子和自己做实验的地方。 当你想要提交关于文档的问题或者 提交关于 Angular 自身的问题时, 它是重现错误的完美地方。