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

Commit cfa7ec7

Browse files
chalinFoxandxss
authored andcommitted
example(dart/toh-5): add extra region for use in API docs (#2664)
1 parent ea7dff4 commit cfa7ec7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

public/docs/_examples/toh-5/dart/lib/app_component.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import 'heroes_component.dart';
2828
directives: const [ROUTER_DIRECTIVES],
2929
providers: const [HeroService, ROUTER_PROVIDERS])
3030
// #enddocregion directives-and-providers
31-
// #docregion heroes
31+
// #docregion heroes, routes
3232
@RouteConfig(const [
3333
// #enddocregion heroes
3434
// #docregion dashboard
@@ -45,7 +45,7 @@ import 'heroes_component.dart';
4545
// #docregion heroes
4646
const Route(path: '/heroes', name: 'Heroes', component: HeroesComponent)
4747
])
48-
// #enddocregion heroes
48+
// #enddocregion heroes, routes
4949
class AppComponent {
5050
String title = 'Tour of Heroes';
5151
}

0 commit comments

Comments
 (0)