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

examples(tutorial): misc fixes to issues from failed e2e #1936

Merged
merged 1 commit into from
Jul 20, 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
1 change: 1 addition & 0 deletions public/docs/_examples/toh-1/ts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
<script>
System.import('app').catch(function(err){ console.error(err); });
</script>
</head>

<body>
<my-app>Loading...</my-app>
Expand Down
2 changes: 1 addition & 1 deletion public/docs/_examples/toh-2/ts/index.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Angular 2 Tour of Heros</title>
<title>Angular 2 Tour of Heroes</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
Expand Down
4 changes: 4 additions & 0 deletions public/docs/_examples/toh-4/dart/web/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
<!DOCTYPE html>
<html>
<head>
<title>Angular 2 Tour of Heroes</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">

<script defer src="main.dart" type="application/dart"></script>
<script defer src="packages/browser/dart.js"></script>
</head>
Expand Down
2 changes: 2 additions & 0 deletions public/docs/_examples/toh-4/ts/app/app.component.1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ export class AppComponent implements OnInit {
// #enddocregion heroes-prop
selectedHero: Hero;

/*
// #docregion new-service
heroService = new HeroService(); // don't do this
// #enddocregion new-service
*/
// #docregion ctor
constructor(private heroService: HeroService) { }
// #enddocregion ctor
Expand Down