
This change moves many APIs to the angular2/core export. This change also automatically adds FORM_BINDINGS in the application root injector. BREAKING CHANGE: Many dependencies that were previously exported from specific APIs are now exported from angular2/core. Affected exports, which should now be included from angular2/core include: angular2/forms angular2/di angular2/directives angular2/change_detection angular2/bootstrap (except for dart users) angular2/render angular2/metadata angular2/debug angular2/pipes Closes #3977
10 lines
427 B
TypeScript
10 lines
427 B
TypeScript
import {CONST_EXPR} from "angular2/src/core/facade/lang";
|
|
import {OpaqueToken} from "angular2/src/core/di";
|
|
import {RenderElementRef, RenderViewRef} from "angular2/src/core/render/api";
|
|
|
|
export const ON_WEB_WORKER = CONST_EXPR(new OpaqueToken('WebWorker.onWebWorker'));
|
|
|
|
export class WebWorkerElementRef implements RenderElementRef {
|
|
constructor(public renderView: RenderViewRef, public renderBoundElementIndex: number) {}
|
|
}
|