angular-docs-cn/modules/angular2/web_worker/worker.ts

38 lines
1.3 KiB
TypeScript

export * from '../lifecycle_hooks';
export * from '../src/core/metadata';
export * from '../src/core/util';
export * from '../src/core/di';
export * from '../src/core/pipes';
export * from '../src/core/facade';
// Do not export application in web_worker,
// web_worker exports its own
// export * from '../src/core/application';
export * from '../src/core/application_ref';
export * from '../src/core/services';
export * from '../src/core/compiler';
export * from '../src/core/lifecycle';
export * from '../src/core/zone';
// Do not export render in web_worker
// export * from '../src/core/render';
// Add special import for just render API
// TODO: Hard coded exports from render that need to be cleaned up
export {
RenderEventDispatcher,
Renderer,
RenderElementRef,
RenderViewRef,
RenderProtoViewRef,
RenderFragmentRef,
RenderViewWithFragments
} from '../src/core/render/render';
export * from '../src/core/directives';
export * from '../src/core/forms';
export * from '../src/core/debug';
export * from '../src/core/change_detection';
export * from '../profile';
export * from '../src/web_workers/worker/application';
export * from '../src/web_workers/shared/client_message_broker';
export * from '../src/web_workers/shared/service_message_broker';
export {PRIMITIVE} from '../src/web_workers/shared/serializer';