From ebe47f7d4c44b8e2ccf12716442a03f4b87efd94 Mon Sep 17 00:00:00 2001 From: Jan Dh Date: Fri, 16 Oct 2015 15:12:54 +0200 Subject: [PATCH] Update toh-pt2.jade moved the styling into an array (as it is the correct syntax) --- public/docs/ts/latest/tutorial/toh-pt2.jade | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/docs/ts/latest/tutorial/toh-pt2.jade b/public/docs/ts/latest/tutorial/toh-pt2.jade index fec4cb0b15..adce173d87 100644 --- a/public/docs/ts/latest/tutorial/toh-pt2.jade +++ b/public/docs/ts/latest/tutorial/toh-pt2.jade @@ -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;} @@ -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. @@ -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. \ No newline at end of file + We’ll learn more about these tasks in the coming tutorial chapters.