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

56 lines
1.7 KiB
TypeScript

export * from '../src/core/linker/interfaces';
export * from '../src/core/metadata';
export * from '../src/core/util';
export * from '../src/core/di';
export * from '../src/common/pipes';
export * from 'angular2/src/facade/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/platform/browser/ruler';
export * from '../src/platform/browser/title';
export * from '../src/compiler/url_resolver';
export * from '../src/core/linker';
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,
RenderTemplateCmd,
RenderCommandVisitor,
RenderTextCmd,
RenderNgContentCmd,
RenderBeginElementCmd,
RenderBeginComponentCmd,
RenderEmbeddedTemplateCmd,
RenderBeginCmd
} from '../src/core/render/api';
export * from '../src/common/directives';
export * from '../src/common/forms';
export {DebugElement} from '../src/core/debug/debug_element';
export * from '../src/core/change_detection';
export * from '../profile';
export * from '../src/web_workers/worker/application';
export {
ClientMessageBroker,
ClientMessageBrokerFactory,
FnArg,
UiArguments
} from '../src/web_workers/shared/client_message_broker';
export {
ReceivedMessage,
ServiceMessageBroker,
ServiceMessageBrokerFactory
} from '../src/web_workers/shared/service_message_broker';
export {PRIMITIVE} from '../src/web_workers/shared/serializer';