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

docs: fix typos #3370

Merged
merged 2 commits into from
Mar 17, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions public/docs/ts/latest/cookbook/ajs-quick-reference.jade
Original file line number Diff line number Diff line change
Expand Up @@ -504,7 +504,7 @@ table(width="100%")
:marked
### date
code-example.
<td>{{movie.releaseDate | date}}</td>
<td>{{movie.releaseDate | date}}</td>
:marked
Formats a date to a string based on the requested format.
td
Expand Down Expand Up @@ -578,7 +578,7 @@ table(width="100%")
:marked
### number
code-example.
<td>{{movie.starRating | number}}</td>
<td>{{movie.starRating | number}}</td>
:marked
Formats a number as text.
td
Expand Down
9 changes: 4 additions & 5 deletions public/docs/ts/latest/guide/dependency-injection.jade
Original file line number Diff line number Diff line change
Expand Up @@ -734,14 +734,13 @@ block dart-diff-const-metadata-ctor
p
| What if the dependency value isn't a class? Sometimes the thing we want to inject is a
block non-class-dep-eg
span string, function, or object.
| span string, function, or object.
p
| Applications often define configuration objects with lots of small facts
| (like the title of the application or the address of a web API endpoint)
| (like the title of the application or the address of a web API endpoint)
block config-obj-maps
|  but these configuration objects aren't always instances of a class.
| They can be object literals
|  such as this one:
| but these configuration objects aren't always instances of a class.
| They can be object literals such as this one:

+makeExample('dependency-injection/ts/src/app/app.config.ts','config','src/app/app-config.ts (excerpt)')(format='.')

Expand Down
2 changes: 1 addition & 1 deletion public/docs/ts/latest/guide/template-syntax.jade
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ a#expression-context
The context for terms in an expression is a blend of the _template variables_,
the directive's _context_ object (if it has one), and the component's _members_.
If you reference a name that belongs to more than one of these namespaces,
the template variable name takes precedence, followed by a name in the directive's' _context_,
the template variable name takes precedence, followed by a name in the directive's _context_,
and, lastly, the component's member names.

The previous example presents such a name collision. The component has a `hero`
Expand Down