feat(bootstrap): remove the need for explicit reflection setup in bootstrap code
BREAKING CHANGES: Dart applications and TypeScript applications meant to transpile to Dart must now import `package:angular2/bootstrap.dart` instead of `package:angular2/angular2.dart` in their bootstrap code. `package:angular2/angular2.dart` no longer export the bootstrap function. The transformer rewrites imports of `bootstrap.dart` and calls to `bootstrap` to `bootstrap_static.dart` and `bootstrapStatic` respectively.
This commit is contained in:
@ -1,13 +1,6 @@
|
||||
import {Directive} from 'angular2/annotations';
|
||||
import {
|
||||
ViewContainerRef,
|
||||
ViewRef,
|
||||
TemplateRef,
|
||||
Pipes,
|
||||
LifecycleEvent,
|
||||
Pipe,
|
||||
ChangeDetectorRef
|
||||
} from 'angular2/angular2';
|
||||
import {Directive, LifecycleEvent} from 'angular2/annotations';
|
||||
import {ViewContainerRef, ViewRef, TemplateRef} from 'angular2/core';
|
||||
import {ChangeDetectorRef, Pipe, Pipes} from 'angular2/change_detection';
|
||||
import {isPresent, isBlank} from 'angular2/src/facade/lang';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user