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

Commit 2bc166c

Browse files
Foxandxsswardbell
authored andcommitted
docs(toh): fix some header extensions
closes #1549
1 parent 9b2c54e commit 2bc166c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/docs/ts/latest/tutorial/toh-pt6.jade

+2-2
Original file line numberDiff line numberDiff line change
@@ -259,12 +259,12 @@ figure.image-display
259259
As we noted above, that is the component's cue to create and present an empty hero.
260260

261261
Add the following HTML to the `heroes.component.html`, just below the hero list (the `*ngFor`).
262-
+makeExample('toh-6/ts/app/heroes.component.html', 'add-hero', 'app/heroes.component.ts (add)')(format=".")
262+
+makeExample('toh-6/ts/app/heroes.component.html', 'add-hero', 'app/heroes.component.html (add)')(format=".")
263263
:marked
264264
The user can *delete* an existing hero by clicking a delete button next to the hero's name.
265265

266266
Add the following HTML to the `heroes.component.html` right after the name in the repeated `<li>` tag:
267-
+makeExample('toh-6/ts/app/heroes.component.html', 'delete-hero', 'app/heroes.component.ts (delete)')(format=".")
267+
+makeExample('toh-6/ts/app/heroes.component.html', 'delete-hero', 'app/heroes.component.html (delete)')(format=".")
268268

269269
:marked
270270
Now let's fix-up the `HeroesComponent` to support the *add* and *delete* actions in the template.

0 commit comments

Comments
 (0)