fix(examples): add a couple entrypoints, adjust pubspec, fix change detector bug in Dart
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user