fix(guide): remove html escaping from samples in displaying-data
This commit is contained in:
parent
b9339e5a17
commit
20f1992e33
|
@ -108,13 +108,14 @@
|
||||||
p Moving up from a single property, create an array to display as a list.
|
p Moving up from a single property, create an array to display as a list.
|
||||||
|
|
||||||
code-tabs
|
code-tabs
|
||||||
code-pane(language="javascript" name="TypeScript" format="linenums" escape="html").
|
code-pane(language="javascript" name="TypeScript" format="linenums").
|
||||||
//Typescript
|
//Typescript
|
||||||
constructor() {
|
constructor() {
|
||||||
this.myName = "Alice";
|
this.myName = "Alice";
|
||||||
this.names = ["Aarav", "Martín", "Shannon", "Ariana", "Kai"];
|
this.names = ["Aarav", "Martín", "Shannon", "Ariana", "Kai"];
|
||||||
}
|
}
|
||||||
code-pane(language="javascript" name="Javascript (ES5)" format="linenums" escape="html").
|
|
||||||
|
code-pane(language="javascript" name="Javascript (ES5)" format="linenums").
|
||||||
//ES5
|
//ES5
|
||||||
function DisplayComponent() {
|
function DisplayComponent() {
|
||||||
this.myName = "Alice";
|
this.myName = "Alice";
|
||||||
|
|
Loading…
Reference in New Issue