Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit de8fb3f

Browse files
committed
post-review updates
1 parent b1a3ffb commit de8fb3f

File tree

3 files changed

+48
-38
lines changed

3 files changed

+48
-38
lines changed

public/docs/dart/latest/glossary.jade

+14-2
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@ block includes
55

66
block annotation-defn
77
:marked
8-
There are different kinds of annotation in Dart. Unqualified use of the
9-
term usually refers to a [_metadata_ annotation][metadata]. A metadata
8+
When unqualified, _annotation_ refers to a Dart [metadata
9+
annotation][metadata] (as opposed to, say, a type annotation). A metadata
1010
annotation begins with the character `@`, followed by either a reference
1111
to a compile-time constant (such as [`Component`](#component)) or a call
1212
to a constant constructor. See the [Dart Language Guide][metadata] for
1313
details.
1414

15+
The corresponding term in TypeScript and JavaScript is
16+
[_decorator_](!{docsPath}/ts/latest/glossary.html#decorator).
17+
1518
[metadata]: https://www.dartlang.org/guides/language/language-tour#metadata
1619

1720
block bootstrap-defn-top
@@ -54,3 +57,12 @@ block append snake-case-defn
5457
:marked
5558
Library and file names are often spelled in snake_case. Examples include:
5659
`angular2_tour_of_heroes` and `app_component.dart`.
60+
61+
block zone-defn
62+
:marked
63+
Zones are a mechanism for encapsulating and intercepting
64+
a Dart application's asynchronous activity.
65+
66+
To learn more, consult the [zones article][zones].
67+
68+
[zones]: https://www.dartlang.org/articles/libraries/zones

public/docs/ts/_cache/glossary.jade

+17-18
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ a#N
558558
:marked
559559
A [Provider](!{_ProviderUrl}) creates a new instance of a dependency for the
560560
[Dependency Injection](#dependency-injection) system.
561-
It relates a lookup token to code — sometimes called a "recipe" —
561+
It relates a lookup token to code — sometimes called a "recipe" —
562562
that can create a dependency value.
563563

564564
a#Q
@@ -744,8 +744,6 @@ a#snake-case
744744
TypeScript is the preferred language for Angular 2 development although
745745
we are welcome to write in other JavaScript dialects such as [ES5](#es5).
746746

747-
Angular 2 itself is written in TypeScript.
748-
749747
Learn more about TypeScript on its [website](http://www.typescriptlang.org/).
750748

751749
a#U
@@ -775,22 +773,23 @@ a#Y
775773
:marked
776774
## Zone
777775
.l-sub-section
778-
:marked
779-
Zones are a mechanism for encapsulating and intercepting
780-
a JavaScript application's asynchronous activity.
776+
block zone-defn
777+
:marked
778+
Zones are a mechanism for encapsulating and intercepting
779+
a JavaScript application's asynchronous activity.
781780

782-
The browser DOM and JavaScript have a limited number
783-
of asynchronous activities, activities such as DOM events (e.g., clicks),
784-
[promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), and
785-
[XHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
786-
calls to remote servers.
781+
The browser DOM and JavaScript have a limited number
782+
of asynchronous activities, activities such as DOM events (e.g., clicks),
783+
[promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), and
784+
[XHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
785+
calls to remote servers.
787786

788-
Zones intercept all of these activities and give a "zone client" the opportunity
789-
to take action before and after the async activity completes.
787+
Zones intercept all of these activities and give a "zone client" the opportunity
788+
to take action before and after the async activity completes.
790789

791-
Angular runs our application in a zone where it can respond to
792-
asynchronous events by checking for data changes and updating
793-
the information it displays via [data binding](#data-binding).
790+
Angular runs our application in a zone where it can respond to
791+
asynchronous events by checking for data changes and updating
792+
the information it displays via [data bindings](#data-binding).
794793

795-
Learn more about zones in this
796-
[Brian Ford video](https://www.youtube.com/watch?v=3IqtmUscE_U).
794+
Learn more about zones in this
795+
[Brian Ford video](https://www.youtube.com/watch?v=3IqtmUscE_U).

public/docs/ts/latest/glossary.jade

+17-18
Original file line numberDiff line numberDiff line change
@@ -558,7 +558,7 @@ a#N
558558
:marked
559559
A [Provider](!{_ProviderUrl}) creates a new instance of a dependency for the
560560
[Dependency Injection](#dependency-injection) system.
561-
It relates a lookup token to code — sometimes called a "recipe" —
561+
It relates a lookup token to code — sometimes called a "recipe" —
562562
that can create a dependency value.
563563

564564
a#Q
@@ -744,8 +744,6 @@ a#snake-case
744744
TypeScript is the preferred language for Angular 2 development although
745745
we are welcome to write in other JavaScript dialects such as [ES5](#es5).
746746

747-
Angular 2 itself is written in TypeScript.
748-
749747
Learn more about TypeScript on its [website](http://www.typescriptlang.org/).
750748

751749
a#U
@@ -775,22 +773,23 @@ a#Y
775773
:marked
776774
## Zone
777775
.l-sub-section
778-
:marked
779-
Zones are a mechanism for encapsulating and intercepting
780-
a JavaScript application's asynchronous activity.
776+
block zone-defn
777+
:marked
778+
Zones are a mechanism for encapsulating and intercepting
779+
a JavaScript application's asynchronous activity.
781780

782-
The browser DOM and JavaScript have a limited number
783-
of asynchronous activities, activities such as DOM events (e.g., clicks),
784-
[promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), and
785-
[XHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
786-
calls to remote servers.
781+
The browser DOM and JavaScript have a limited number
782+
of asynchronous activities, activities such as DOM events (e.g., clicks),
783+
[promises](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise), and
784+
[XHR](https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest)
785+
calls to remote servers.
787786

788-
Zones intercept all of these activities and give a "zone client" the opportunity
789-
to take action before and after the async activity completes.
787+
Zones intercept all of these activities and give a "zone client" the opportunity
788+
to take action before and after the async activity completes.
790789

791-
Angular runs our application in a zone where it can respond to
792-
asynchronous events by checking for data changes and updating
793-
the information it displays via [data binding](#data-binding).
790+
Angular runs our application in a zone where it can respond to
791+
asynchronous events by checking for data changes and updating
792+
the information it displays via [data bindings](#data-binding).
794793

795-
Learn more about zones in this
796-
[Brian Ford video](https://www.youtube.com/watch?v=3IqtmUscE_U).
794+
Learn more about zones in this
795+
[Brian Ford video](https://www.youtube.com/watch?v=3IqtmUscE_U).

0 commit comments

Comments
 (0)