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

Commit 5b43b1d

Browse files
committed
Small fixes
1 parent 31b8ef2 commit 5b43b1d

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

public/docs/_examples/toh-6/ts/app/heroes.component.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,10 @@ button {
5858
button:hover {
5959
background-color: #cfd8dc;
6060
}
61-
/* #docregion delete-hero */
61+
/* #docregion additions */
62+
.error {color:red;}
6263
button.delete-button{
6364
float:right;
6465
background-color: gray !important;
6566
color:white;
6667
}
67-
/* #enddocregion delete-hero */
68-
/* #enddocregion */

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -317,10 +317,7 @@ block add-new-hero-via-detail-comp
317317
+makeExample('app/heroes.component.html', 'delete')
318318
:marked
319319
Add the following CSS to the bottom of `heroes.component.css`.
320-
+makeExample('toh-6/ts/app/heroes.component.css', 'delete-hero', 'app/heroes.component.css (delete)')(format=".")
321-
:marked
322-
Add the following CSS to the bottom of `heroes.component.css`.
323-
+makeExample('toh-6/ts/app/heroes.component.css', 'delete-hero', 'app/heroes.component.css (delete)')(format=".")
320+
+makeExcerpt('toh-6/ts/app/heroes.component.css', 'additions', '')(format=".")
324321
:marked
325322
Now let's fix-up the `HeroesComponent` to support the *add* and *delete* actions used in the template.
326323
Let's start with *add*.

0 commit comments

Comments
 (0)