Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

docs: remove public access modifiers #1009

Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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'
};
Expand Down
4 changes: 2 additions & 2 deletions public/docs/_examples/toh-1/ts/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
};
Expand Down