14 lines
533 B
TypeScript
14 lines
533 B
TypeScript
|
import {JsonpCmp} from './jsonp_comp';
|
||
|
import {bootstrap} from 'angular2/angular2';
|
||
|
import {reflector} from 'angular2/src/reflection/reflection';
|
||
|
import {ReflectionCapabilities} from 'angular2/src/reflection/reflection_capabilities';
|
||
|
import {jsonpInjectables} from 'angular2/http';
|
||
|
|
||
|
|
||
|
export function main() {
|
||
|
// This entry point is not transformed and exists for testing purposes.
|
||
|
// See index.js for an explanation.
|
||
|
reflector.reflectionCapabilities = new ReflectionCapabilities();
|
||
|
bootstrap(JsonpCmp, [jsonpInjectables]);
|
||
|
}
|