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

Commit cf2042a

Browse files
charleshypkjuleskremer
authored andcommitted
docs(fix typos) (#3370)
* docs: fix typos * docs: enhance consistency
1 parent 5a6360f commit cf2042a

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

public/docs/ts/latest/cookbook/ajs-quick-reference.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ table(width="100%")
504504
:marked
505505
### date
506506
code-example.
507-
<td>{{movie.releaseDate | date}}</td>
507+
<td>{{movie.releaseDate | date}}</td>
508508
:marked
509509
Formats a date to a string based on the requested format.
510510
td
@@ -578,7 +578,7 @@ table(width="100%")
578578
:marked
579579
### number
580580
code-example.
581-
<td>{{movie.starRating | number}}</td>
581+
<td>{{movie.starRating | number}}</td>
582582
:marked
583583
Formats a number as text.
584584
td

public/docs/ts/latest/guide/dependency-injection.jade

+4-5
Original file line numberDiff line numberDiff line change
@@ -774,14 +774,13 @@ a#non-class-dependencies
774774
p
775775
| What if the dependency value isn't a class? Sometimes the thing you want to inject is a
776776
block non-class-dep-eg
777-
span string, function, or object.
777+
| span string, function, or object.
778778
p
779779
| Applications often define configuration objects with lots of small facts
780-
| (like the title of the application or the address of a web API endpoint)
780+
| (like the title of the application or the address of a web API endpoint)
781781
block config-obj-maps
782-
|  but these configuration objects aren't always instances of a class.
783-
| They can be object literals
784-
|  such as this one:
782+
| but these configuration objects aren't always instances of a class.
783+
| They can be object literals such as this one:
785784

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

public/docs/ts/latest/guide/template-syntax.jade

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ a#expression-context
171171
The context for terms in an expression is a blend of the _template variables_,
172172
the directive's _context_ object (if it has one), and the component's _members_.
173173
If you reference a name that belongs to more than one of these namespaces,
174-
the template variable name takes precedence, followed by a name in the directive's' _context_,
174+
the template variable name takes precedence, followed by a name in the directive's _context_,
175175
and, lastly, the component's member names.
176176

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

0 commit comments

Comments
 (0)