example(dart/toh-5): add extra region for use in API docs (#2664)

This commit is contained in:
Patrice Chalin 2016-10-24 13:33:37 -07:00 committed by Jesús Rodríguez
parent ea7dff4d89
commit cfa7ec76f8
1 changed files with 2 additions and 2 deletions

View File

@ -28,7 +28,7 @@ import 'heroes_component.dart';
directives: const [ROUTER_DIRECTIVES],
providers: const [HeroService, ROUTER_PROVIDERS])
// #enddocregion directives-and-providers
// #docregion heroes
// #docregion heroes, routes
@RouteConfig(const [
// #enddocregion heroes
// #docregion dashboard
@ -45,7 +45,7 @@ import 'heroes_component.dart';
// #docregion heroes
const Route(path: '/heroes', name: 'Heroes', component: HeroesComponent)
])
// #enddocregion heroes
// #enddocregion heroes, routes
class AppComponent {
String title = 'Tour of Heroes';
}