From 3b768a341c9d550530f50d69b31a39b60d0812cc Mon Sep 17 00:00:00 2001 From: Chris Story Date: Sat, 26 Mar 2016 11:36:36 -0400 Subject: [PATCH] docs(toh-1): remove public access modifiers closes #1009 Remove public access modifier on AppComponent properties to be consistent throughout code tutorial --- .../toh-1/ts-snippets/app.component.snippets.pt1.ts | 6 +++--- public/docs/_examples/toh-1/ts/app/app.component.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/public/docs/_examples/toh-1/ts-snippets/app.component.snippets.pt1.ts b/public/docs/_examples/toh-1/ts-snippets/app.component.snippets.pt1.ts index ffcc45d2f6..a62447ad91 100644 --- a/public/docs/_examples/toh-1/ts-snippets/app.component.snippets.pt1.ts +++ b/public/docs/_examples/toh-1/ts-snippets/app.component.snippets.pt1.ts @@ -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' }; diff --git a/public/docs/_examples/toh-1/ts/app/app.component.ts b/public/docs/_examples/toh-1/ts/app/app.component.ts index 772cd60336..227d901e9b 100644 --- a/public/docs/_examples/toh-1/ts/app/app.component.ts +++ b/public/docs/_examples/toh-1/ts/app/app.component.ts @@ -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' };