devguide(typo): fixed escaping issue in ts samples
This commit is contained in:
parent
22383d4816
commit
2f62173bbf
|
@ -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<string>;</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<string>;
|
||||||
constructor() {
|
constructor() {
|
||||||
<span class='otl'>this.names = ["Aarav", "Martín", "Shannon"];</span>
|
<span class='otl'>this.names = ["Aarav", "Martín", "Shannon"];</span>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue