From 2bc166c34ff7a4e902315933aef00f96bf871597 Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Sun, 29 May 2016 19:45:21 +0200 Subject: [PATCH] docs(toh): fix some header extensions closes #1549 --- public/docs/ts/latest/tutorial/toh-pt6.jade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/docs/ts/latest/tutorial/toh-pt6.jade b/public/docs/ts/latest/tutorial/toh-pt6.jade index 2eff1e6aa7..a35ba9c98b 100644 --- a/public/docs/ts/latest/tutorial/toh-pt6.jade +++ b/public/docs/ts/latest/tutorial/toh-pt6.jade @@ -259,12 +259,12 @@ figure.image-display As we noted above, that is the component's cue to create and present an empty hero. Add the following HTML to the `heroes.component.html`, just below the hero list (the `*ngFor`). -+makeExample('toh-6/ts/app/heroes.component.html', 'add-hero', 'app/heroes.component.ts (add)')(format=".") ++makeExample('toh-6/ts/app/heroes.component.html', 'add-hero', 'app/heroes.component.html (add)')(format=".") :marked The user can *delete* an existing hero by clicking a delete button next to the hero's name. Add the following HTML to the `heroes.component.html` right after the name in the repeated `
  • ` tag: -+makeExample('toh-6/ts/app/heroes.component.html', 'delete-hero', 'app/heroes.component.ts (delete)')(format=".") ++makeExample('toh-6/ts/app/heroes.component.html', 'delete-hero', 'app/heroes.component.html (delete)')(format=".") :marked Now let's fix-up the `HeroesComponent` to support the *add* and *delete* actions in the template.