From 6fd005bcf94b67826d1321e7a30396c13ac4b6d6 Mon Sep 17 00:00:00 2001 From: Ward Bell Date: Tue, 11 Aug 2015 13:02:01 -0700 Subject: [PATCH] Added 'app.ts' test file to doc-shredder tests --- .../_test/test_source/no-multiregion/app.ts | 22 +++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 tools/doc-shredder/_test/test_source/no-multiregion/app.ts diff --git a/tools/doc-shredder/_test/test_source/no-multiregion/app.ts b/tools/doc-shredder/_test/test_source/no-multiregion/app.ts new file mode 100644 index 0000000000..b8607bf62c --- /dev/null +++ b/tools/doc-shredder/_test/test_source/no-multiregion/app.ts @@ -0,0 +1,22 @@ +// #docregion +// #docregion import +import {Component, View, bootstrap} from 'angular2/angular2'; +// #enddocregion + +// #docregion class-w-annotations +@Component({ + selector: 'my-app' +}) +@View({ + template: '

My First Angular 2 App

' +}) +// #docregion class +class AppComponent { +} +// #enddocregion +// #enddocregion + +// #docregion bootstrap +bootstrap(AppComponent); +// #enddocregion +// #enddocregion \ No newline at end of file