docs(toh-1): remove public access modifiers

closes #1009
Remove public access modifier on AppComponent properties to be
consistent throughout code tutorial
This commit is contained in:
Chris Story 2016-03-26 11:36:36 -04:00 committed by Ward Bell
parent 6ccc9adac6
commit 3b768a341c
2 changed files with 5 additions and 5 deletions

View File

@ -33,13 +33,13 @@ template:`
// #docregion app-component-1
export class AppComponent {
public title = 'Tour of Heroes';
public hero = 'Windstorm';
title = 'Tour of Heroes';
hero = 'Windstorm';
}
// #enddocregion app-component-1
// #docregion hero-property-1
public hero: Hero = {
hero: Hero = {
id: 1,
name: 'Windstorm'
};

View File

@ -21,8 +21,8 @@ export class Hero {
`
})
export class AppComponent {
public title = 'Tour of Heroes';
public hero: Hero = {
title = 'Tour of Heroes';
hero: Hero = {
id: 1,
name: 'Windstorm'
};