Files
angular-docs-cn/modules/angular2/angular2.ts
T

53 lines
1.2 KiB
TypeScript
Raw Normal View History

/**
* The `angular2` is the single place to import all of the individual types.
*/
export {commonBootstrap as bootstrap} from 'angular2/src/core/application_common';
// TODO(someone familiar with systemjs): the exports below are copied from
// angular2_exports.ts. Re-exporting from angular2_exports.ts causes systemjs
// to resolve imports very very very slowly. See also a similar notice in
// bootstrap.ts
export * from 'angular2/annotations';
export * from 'angular2/core';
export {
DehydratedException,
ExpressionChangedAfterItHasBeenChecked,
ChangeDetectionError,
2015-07-08 12:04:24 -07:00
ON_PUSH,
DEFAULT,
2015-07-08 12:04:24 -07:00
ChangeDetectorRef,
2015-07-08 12:04:24 -07:00
Pipes,
WrappedValue,
Pipe,
PipeFactory,
NullPipe,
NullPipeFactory,
defaultPipes,
2015-06-16 10:46:12 -07:00
BasePipe,
2015-07-08 12:04:24 -07:00
Locals
} from './change_detection';
2015-07-08 12:04:24 -07:00
export * from './di';
export * from './forms';
export * from './directives';
2015-06-09 15:18:57 -07:00
export * from './http';
2015-07-08 12:04:24 -07:00
export {
RenderEventDispatcher,
2015-07-08 12:04:24 -07:00
Renderer,
RenderElementRef,
RenderViewRef,
RenderProtoViewRef,
RenderFragmentRef,
RenderViewWithFragments
2015-07-08 12:04:24 -07:00
} from 'angular2/src/render/api';
export {
DomRenderer,
DOCUMENT_TOKEN,
DOM_REFLECT_PROPERTIES_AS_ATTRIBUTES
} from 'angular2/src/render/dom/dom_renderer';