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 // #docregion app-component-1
export class AppComponent { export class AppComponent {
public title = 'Tour of Heroes'; title = 'Tour of Heroes';
public hero = 'Windstorm'; hero = 'Windstorm';
} }
// #enddocregion app-component-1 // #enddocregion app-component-1
// #docregion hero-property-1 // #docregion hero-property-1
public hero: Hero = { hero: Hero = {
id: 1, id: 1,
name: 'Windstorm' name: 'Windstorm'
}; };

View File

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