fix(examples): add a couple entrypoints, adjust pubspec, fix change detector bug in Dart

This commit is contained in:
Sigmund Cherem
2015-07-14 16:04:49 -07:00
committed by vsavkin
parent f25e43fab8
commit b03560b670
4 changed files with 71 additions and 12 deletions

View File

@ -1,5 +1,7 @@
import {BaseException} from 'angular2/src/facade/lang';
import {bootstrap, Component, View} from 'angular2/angular2';
import {reflector} from 'angular2/src/reflection/reflection';
import {ReflectionCapabilities} from 'angular2/src/reflection/reflection_capabilities';
@Component({
selector: 'error-app',
@ -13,5 +15,6 @@ export class ErrorComponent {
}
export function main() {
reflector.reflectionCapabilities = new ReflectionCapabilities(); // for the Dart version
bootstrap(ErrorComponent);
}