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

Update toh-pt2.jade #275

Closed
wants to merge 1 commit into from
Closed
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
6 changes: 3 additions & 3 deletions public/docs/ts/latest/tutorial/toh-pt2.jade
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ include ../../../../_includes/_util-fns
Let’s add some styles to our component by setting the `styles` property on the `@Component` decorator
to the following CSS classes:
```
styles: `
styles:[`
.heroes {list-style-type: none; margin-left: 1em; padding: 0; width: 10em;}
.heroes li { cursor: pointer; position: relative; left: 0; transition: all 0.2s ease; }
.heroes li:hover {color: #369; background-color: #EEE; left: .2em;}
Expand All @@ -181,7 +181,7 @@ include ../../../../_includes/_util-fns
top: -1px;
}
.selected { background-color: #EEE; color: #369; }
`
`]
```
Notice that we again use the back-tick notation for multi-line strings.

Expand Down Expand Up @@ -438,4 +438,4 @@ include ../../../../_includes/_util-fns
## The Road Ahead
Our Tour of Heroes has grown, but it’s far from complete.
We want to get data from an asynchronous source using promises, use shared services, and create reusable components.
We’ll learn more about these tasks in the coming tutorial chapters.
We’ll learn more about these tasks in the coming tutorial chapters.