devguide(typo): fixed escaping issue in ts samples

This commit is contained in:
Naomi Black 2015-05-29 15:17:14 -07:00
parent 22383d4816
commit 2f62173bbf
1 changed files with 3 additions and 3 deletions

View File

@ -112,7 +112,7 @@
//Typescript //Typescript
class DisplayComponent { class DisplayComponent {
myName: string; myName: string;
<span class='otl'>names: Array<string>;</span> <span class='otl'>names: Array&lt;string&gt;;</span>
constructor() { constructor() {
this.myName = "Alice"; this.myName = "Alice";
@ -289,7 +289,7 @@
//ES5 //ES5
directives: [angular.For, angular.If] directives: [angular.For, angular.If]
p. p.
As there are currently 6 items it the list, you'll see the message congratulating you on your many friends. As there are currently 6 items in the list, you'll see the message congratulating you on your many friends.
Remove three items from the list, reload your browser, and see that the message no longer displays. Remove three items from the list, reload your browser, and see that the message no longer displays.
code-tabs code-tabs
@ -315,7 +315,7 @@
} }
class FriendsService { class FriendsService {
names: Array<string>; names: Array&lt;string&gt;;
constructor() { constructor() {
<span class='otl'>this.names = ["Aarav", "Martín", "Shannon"];</span> <span class='otl'>this.names = ["Aarav", "Martín", "Shannon"];</span>
} }