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

docs(toh-5/dart): fix and clean out dashboard_component regions #2947

Merged
merged 1 commit into from
Dec 7, 2016
Merged
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
9 changes: 4 additions & 5 deletions public/docs/_examples/toh-5/dart/lib/dashboard_component.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// #docplaster
// #docregion
// #docregion imports
// #docregion , imports
import 'dart:async';

import 'package:angular2/core.dart';
Expand All @@ -15,16 +14,16 @@ import 'hero_service.dart';
// #docregion metadata
@Component(
selector: 'my-dashboard',
// #docregion templateUrl
templateUrl: 'dashboard_component.html',
// #enddocregion templateUrl
// #enddocregion metadata
// #docregion css
styleUrls: const ['dashboard_component.css'],
// #enddocregion css
// #docregion metadata
directives: const [ROUTER_DIRECTIVES],
)
// #enddocregion metadata
// #docregion class, component
// #docregion class
class DashboardComponent implements OnInit {
List<Hero> heroes;

Expand Down
3 changes: 1 addition & 2 deletions public/docs/_examples/toh-5/ts/app/dashboard.component.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// #docplaster
// #docregion
// #docregion imports
// #docregion , imports
import { Component, OnInit } from '@angular/core';

import { Hero } from './hero';
Expand Down