fix(guide): remove html escaping from displaying-data code samples

This commit is contained in:
Jeff Cross 2015-05-19 12:32:55 -07:00
parent 9827bc7466
commit 111a2147c1
1 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@
p To see this working, create another file, <code>show-properties.ts</code>, and add the following:
code-tabs
code-pane(language="javascript" name="TypeScript" format="linenums" escape="html").
code-pane(language="javascript" name="TypeScript" format="linenums").
// TypeScript
import {Component, View, bootstrap} from 'angular2/angular2';
@ -49,7 +49,7 @@
})
@View({
template: `
&lt;p&gt;My name: {{ myName }}&lt;/p&gt
&lt;p&gt;My name: {{ myName }}&lt;/p&gt;
`
})
class DisplayComponent {
@ -59,7 +59,7 @@
this.myName = "Alice";
}
}
code-pane(language="javascript" name="ES5" format="linenums" escape="html").
code-pane(language="javascript" name="ES5" format="linenums").
// ES5
function DisplayComponent() {
this.myName = "Alice";