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

Commit cd7b4d5

Browse files
chalinkwalrath
authored andcommitted
docs(toh-5/dart): fix dashboard_component regions (#2947)
Fixes https://github.com/dart-lang/site-webdev/issues/203
1 parent cfaeea0 commit cd7b4d5

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

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

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// #docplaster
2-
// #docregion
3-
// #docregion imports
2+
// #docregion , imports
43
import 'dart:async';
54

65
import 'package:angular2/core.dart';
@@ -15,16 +14,16 @@ import 'hero_service.dart';
1514
// #docregion metadata
1615
@Component(
1716
selector: 'my-dashboard',
18-
// #docregion templateUrl
1917
templateUrl: 'dashboard_component.html',
20-
// #enddocregion templateUrl
18+
// #enddocregion metadata
2119
// #docregion css
2220
styleUrls: const ['dashboard_component.css'],
2321
// #enddocregion css
22+
// #docregion metadata
2423
directives: const [ROUTER_DIRECTIVES],
2524
)
2625
// #enddocregion metadata
27-
// #docregion class, component
26+
// #docregion class
2827
class DashboardComponent implements OnInit {
2928
List<Hero> heroes;
3029

public/docs/_examples/toh-5/ts/app/dashboard.component.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// #docplaster
2-
// #docregion
3-
// #docregion imports
2+
// #docregion , imports
43
import { Component, OnInit } from '@angular/core';
54

65
import { Hero } from './hero';

0 commit comments

Comments
 (0)