chore(test.typings): instrument against examples folder

chore(typing_spec): delete unused typing_spec files

Closes #7743
This commit is contained in:
Jason Kurian
2016-03-23 20:35:48 -04:00
committed by Jason Kurian
parent 440aca86a3
commit 3e593b8221
4 changed files with 22 additions and 48 deletions

View File

@ -1,15 +0,0 @@
import {Component} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';
@Component({
selector: 'my-app',
template: '<h1>Hello {{ name }}</h1>'
})
// Component controller
class MyAppComponent {
name: string;
constructor() { this.name = 'Alice'; }
}
bootstrap(MyAppComponent);

View File

@ -1,28 +0,0 @@
import {Component} from 'angular2/core';
import {bootstrap} from 'angular2/platform/browser';
import {RouteConfig, ROUTER_DIRECTIVES, ROUTER_PROVIDERS} from 'angular2/router';
@Component({
selector: 'my-app',
template: '<h1>Hello</h1>',
})
class FooCmp {
constructor(a: string, b: number) {}
}
@Component({
selector: 'my-app',
template: '<h1>Hello {{ name }}</h1><router-outlet></router-outlet>',
directives: ROUTER_DIRECTIVES
})
@RouteConfig([
{path: '/home', component: FooCmp}
])
class MyAppComponent {
name: string;
constructor() { this.name = 'Alice'; }
}
bootstrap(MyAppComponent, ROUTER_PROVIDERS);