把“Live Example 鲜活范例”统一译成“在线例子”

This commit is contained in:
Zhicheng Wang 2016-05-11 14:47:32 +08:00
parent 9b1544bb70
commit f397bf6608
14 changed files with 21 additions and 21 deletions

View File

@ -60,7 +60,7 @@ figure
:marked
The code referenced in this chapter is available as a [live example](/resources/live-examples/architecture/ts/plnkr.html).
本章所引用的代码可以在这个[鲜活范例](/resources/live-examples/architecture/ts/plnkr.html)中找到。
本章所引用的代码可以在这个[在线例子](/resources/live-examples/architecture/ts/plnkr.html)中找到。
<a id="module"></a>
.l-main-section
:marked

View File

@ -20,7 +20,7 @@ include ../_util-fns
:marked
[Run the live example](/resources/live-examples/dependency-injection/ts/plnkr.html)
[运行鲜活范例](/resources/live-examples/dependency-injection/ts/plnkr.html)
[运行在线例子](/resources/live-examples/dependency-injection/ts/plnkr.html)
// #docregion why-1
<a id="why-di"></a>
.l-main-section

View File

@ -24,7 +24,7 @@ figure.image-display
:marked
[Run the live example](/resources/live-examples/displaying-data/ts/plnkr.html)
[运行鲜活范例](/resources/live-examples/displaying-data/ts/plnkr.html)
[运行在线例子](/resources/live-examples/displaying-data/ts/plnkr.html)
<a id="interpolation"></a>
.l-main-section

View File

@ -49,7 +49,7 @@ include ../_util-fns
[Live Example](/resources/live-examples/forms/ts/plnkr.html)
[鲜活范例](/resources/live-examples/forms/ts/plnkr.html)
[在线例子](/resources/live-examples/forms/ts/plnkr.html)
.l-main-section
:marked
## Template-Driven Forms

View File

@ -157,7 +157,7 @@ table(width="100%")
Look for a link to a running version of that sample near the top of each page
such as this [live example](/resources/live-examples/architecture/ts/plnkr.html) from the [Architecture](architecture.html) chapter.
在每页靠近顶部的地方可以看到一个链接,指向这个范例的运行版本,比如[架构](architecture.html)一章中的[鲜活范例](/resources/live-examples/architecture/ts/plnkr.html)。
在每页靠近顶部的地方可以看到一个链接,指向这个范例的运行版本,比如[架构](architecture.html)一章中的[在线例子](/resources/live-examples/architecture/ts/plnkr.html)。
The link launches a browser-based code editor where we can inspect, modify, save, and download the code.
@ -171,7 +171,7 @@ table(width="100%")
少量早期的章节是作为教程来写的,并且被清晰地标注出来。
但大部分章节都不是教程。
它们的目的是展示代码中的关键点,而不是解释构建这个范例所需的每一个步骤。
我们总能从鲜活范例的链接找到完整的源代码。
我们总能从在线例子的链接找到完整的源代码。
## References
## 参考资料

View File

@ -56,7 +56,7 @@ include ../_util-fns
The [live example](/resources/live-examples/template-syntax/ts/plnkr.html)
demonstrates all of the syntax and code snippets described in this chapter.
这个[鲜活范例](/resources/live-examples/template-syntax/ts/plnkr.html)演示了本章中描述的所有语法和代码片段。
这个[在线例子](/resources/live-examples/template-syntax/ts/plnkr.html)演示了本章中描述的所有语法和代码片段。
// #docregion html-1
.l-main-section
:marked

View File

@ -11,7 +11,7 @@ include ../_util-fns
[Run the live example](/resources/live-examples/user-input/ts/plnkr.html)
[运行鲜活范例](/resources/live-examples/user-input/ts/plnkr.html)
[运行在线例子](/resources/live-examples/user-input/ts/plnkr.html)
:marked
## Binding to user input events

View File

@ -21,7 +21,7 @@ include _util-fns
which loads the sample app in <a href="http://plnkr.co/" title="Plunker" target="_blank">plunker</a>
and displays a simple message:
试试这个 <a href="/resources/live-examples/quickstart/ts/plnkr.html" target="_blank">鲜活范例</a>
试试这个 <a href="/resources/live-examples/quickstart/ts/plnkr.html" target="_blank">在线例子</a>
它将在<a href="http://plnkr.co/" title="Plunker" target="_blank">plunker</a>中加载这个范例,并显示一条简短的消息
figure.image-display
@ -636,7 +636,7 @@ code-example(format="").
In the live example on plunker we transpile (AKA compile) to JavaScript in the browser
on the fly. That's fine for a demo. That's not our preference for development or production.
在plunker上的鲜活范例live example我们在浏览器中随时转译也可以叫编译到JavaScript。对于范例来说这足够了。
在plunker上的在线例子live example我们在浏览器中随时转译也可以叫编译到JavaScript。对于范例来说这足够了。
但这并不是用在开发环境或产品环境中的推荐方式。
We recommend transpiling (AKA compiling) to JavaScript during a build phase

View File

@ -48,7 +48,7 @@ include ../_util-fns
:marked
[Run the live example](/resources/live-examples/tutorial/ts/plnkr.html)
[运行鲜活范例](/resources/live-examples/tutorial/ts/plnkr.html)
[运行在线例子](/resources/live-examples/tutorial/ts/plnkr.html)
// #docregion main
.l-main-section

View File

@ -10,7 +10,7 @@ include ../_util-fns
[Run the live example for part 1](/resources/live-examples/toh-1/ts/plnkr.html)
[运行第一部分的鲜活范例](/resources/live-examples/toh-1/ts/plnkr.html)
[运行第一部分的在线例子](/resources/live-examples/toh-1/ts/plnkr.html)
Create a folder called `angular2-tour-of-heroes` and follow the [QuickStart](../quickstart.html) steps
which provide the prerequisites, the folder structure, and the core files for our Tour of Heroes.
@ -260,7 +260,7 @@ code-example(language="html").
[Run the live example for part 1](/resources/live-examples/toh-1/ts/plnkr.html)
[运行第一部分的鲜活范例](/resources/live-examples/toh-1/ts/plnkr.html)
[运行第一部分的在线例子](/resources/live-examples/toh-1/ts/plnkr.html)
Here's the complete `app.component.ts` as it stands now:

View File

@ -11,7 +11,7 @@ include ../_util-fns
[Run the live example for part 2](/resources/live-examples/toh-2/ts/plnkr.html)
[运行第二部分的鲜活范例](/resources/live-examples/toh-2/ts/plnkr.html)
[运行第二部分的在线例子](/resources/live-examples/toh-2/ts/plnkr.html)
Lets take stock of what well need to display a list of heroes.
First, we need a list of heroes. We want to display those heroes in the views template,
@ -482,7 +482,7 @@ code-example(format="." language="bash").
[Run the live example for part 2](/resources/live-examples/toh-2/ts/plnkr.html)
[运行第二部分的鲜活范例](/resources/live-examples/toh-2/ts/plnkr.html)
[运行第二部分的在线例子](/resources/live-examples/toh-2/ts/plnkr.html)
### The Road Ahead
### 前方的路

View File

@ -9,7 +9,7 @@ include ../_util-fns
[Run the live example for part 3](/resources/live-examples/toh-3/ts/plnkr.html)
[运行第三部分的鲜活范例](/resources/live-examples/toh-3/ts/plnkr.html)
[运行第三部分的在线例子](/resources/live-examples/toh-3/ts/plnkr.html)
.l-main-section
:marked
@ -378,7 +378,7 @@ code-example(format=".")
[Run the live example for part 3](/resources/live-examples/toh-3/ts/plnkr.html).
[运行第三部分的鲜活范例](/resources/live-examples/toh-3/ts/plnkr.html).
[运行第三部分的在线例子](/resources/live-examples/toh-3/ts/plnkr.html).
.l-main-section
:marked

View File

@ -28,7 +28,7 @@ include ../_util-fns
:marked
[Run the live example for part 4](/resources/live-examples/toh-4/ts/plnkr.html)
[运行第四部分的鲜活范例](/resources/live-examples/toh-4/ts/plnkr.html)
[运行第四部分的在线例子](/resources/live-examples/toh-4/ts/plnkr.html)
.l-main-section
:marked
@ -595,7 +595,7 @@ code-example(format="." language="html").
[Run the live example for part 4](/resources/live-examples/toh-4/ts/plnkr.html)
[运行第四部分的鲜活范例](/resources/live-examples/toh-4/ts/plnkr.html)
[运行第四部分的在线例子](/resources/live-examples/toh-4/ts/plnkr.html)
### The Road Ahead
### 前方的路

View File

@ -33,7 +33,7 @@ figure.image-display
:marked
[Run the live example](/resources/live-examples/toh-5/ts/plnkr.html).
[运行鲜活范例](/resources/live-examples/toh-5/ts/plnkr.html).
[运行在线例子](/resources/live-examples/toh-5/ts/plnkr.html).
.l-sub-section
img(src='/resources/images/devguide/plunker-separate-window-button.png' alt="弹出窗口" align="right" style="margin-right:-20px")
:marked
@ -1082,7 +1082,7 @@ figure.image-display
Review the sample source code [in the live example for this chapter](/resources/live-examples/toh-5/ts/plnkr.html).
Verify that we have the following structure:
在[本章的鲜活范例](/resources/live-examples/toh-5/ts/plnkr.html)中回顾范例代码。请验证一下我们已经有了下列结构:
在[本章的在线例子](/resources/live-examples/toh-5/ts/plnkr.html)中回顾范例代码。请验证一下我们已经有了下列结构:
.filetree
.file angular2-tour-of-heroes