devguide(typo): fixed escaping issue in ts samples
This commit is contained in:
parent
22383d4816
commit
2f62173bbf
|
@ -112,7 +112,7 @@
|
|||
//Typescript
|
||||
class DisplayComponent {
|
||||
myName: string;
|
||||
<span class='otl'>names: Array<string>;</span>
|
||||
<span class='otl'>names: Array<string>;</span>
|
||||
|
||||
constructor() {
|
||||
this.myName = "Alice";
|
||||
|
@ -289,7 +289,7 @@
|
|||
//ES5
|
||||
directives: [angular.For, angular.If]
|
||||
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.
|
||||
|
||||
code-tabs
|
||||
|
@ -315,7 +315,7 @@
|
|||
}
|
||||
|
||||
class FriendsService {
|
||||
names: Array<string>;
|
||||
names: Array<string>;
|
||||
constructor() {
|
||||
<span class='otl'>this.names = ["Aarav", "Martín", "Shannon"];</span>
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue