Skip to content

Commit 86d75d4

Browse files
wardbelljtraband
authored andcommitted
Added 'app.ts' test file to doc-shredder tests
1 parent 903f59b commit 86d75d4

File tree

1 file changed

+22
-0
lines changed
  • public/doc-shredder/test/test_source

1 file changed

+22
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
// #docregion
2+
// #docregion import
3+
import {Component, View, bootstrap} from 'angular2/angular2';
4+
// #enddocregion
5+
6+
// #docregion class-w-annotations
7+
@Component({
8+
selector: 'my-app'
9+
})
10+
@View({
11+
template: '<h1 id="output">My First Angular 2 App</h1>'
12+
})
13+
// #docregion class
14+
class AppComponent {
15+
}
16+
// #enddocregion
17+
// #enddocregion
18+
19+
// #docregion bootstrap
20+
bootstrap(AppComponent);
21+
// #enddocregion
22+
// #enddocregion

0 commit comments

Comments
 (0)