fix(docs): export bootstrap in core.ts but not in core.dart
This commit is contained in:
parent
235dec26fc
commit
5f7d4faa88
|
@ -1,7 +1,6 @@
|
|||
/**
|
||||
* 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
|
||||
|
|
|
@ -0,0 +1,31 @@
|
|||
library angular2.core;
|
||||
|
||||
export 'package:angular2/src/core/application_tokens.dart' show APP_COMPONENT;
|
||||
export 'package:angular2/src/core/application_common.dart' show ApplicationRef;
|
||||
|
||||
// Compiler Related Dependencies.
|
||||
export 'package:angular2/src/services/app_root_url.dart' show AppRootUrl;
|
||||
export 'package:angular2/src/services/url_resolver.dart' show UrlResolver;
|
||||
export 'package:angular2/src/core/compiler/component_url_mapper.dart'
|
||||
show ComponentUrlMapper;
|
||||
export 'package:angular2/src/core/compiler/directive_resolver.dart'
|
||||
show DirectiveResolver;
|
||||
export 'package:angular2/src/core/compiler/compiler.dart' show Compiler;
|
||||
|
||||
export 'package:angular2/src/core/compiler/view_manager.dart' show AppViewManager;
|
||||
export 'package:angular2/src/core/compiler/query_list.dart' show QueryList;
|
||||
export 'package:angular2/src/core/compiler/dynamic_component_loader.dart'
|
||||
show DynamicComponentLoader;
|
||||
export 'package:angular2/src/core/life_cycle/life_cycle.dart' show LifeCycle;
|
||||
|
||||
export 'package:angular2/src/core/compiler/element_ref.dart' show ElementRef;
|
||||
export 'package:angular2/src/core/compiler/template_ref.dart' show TemplateRef;
|
||||
export 'package:angular2/src/core/compiler/view_ref.dart'
|
||||
show ViewRef, HostViewRef, ProtoViewRef;
|
||||
export 'package:angular2/src/core/compiler/view_container_ref.dart'
|
||||
show ViewContainerRef;
|
||||
export 'package:angular2/src/core/compiler/dynamic_component_loader.dart'
|
||||
show ComponentRef;
|
||||
|
||||
export 'package:angular2/src/core/zone/ng_zone.dart' show NgZone;
|
||||
export 'package:angular2/src/facade/async.dart' show Observable, EventEmitter;
|
|
@ -4,7 +4,7 @@
|
|||
* Define angular core API here.
|
||||
*/
|
||||
export {APP_COMPONENT} from 'angular2/src/core/application_tokens';
|
||||
export {ApplicationRef} from 'angular2/src/core/application_common';
|
||||
export {ApplicationRef, commonBootstrap as bootstrap} from 'angular2/src/core/application_common';
|
||||
export {Type} from 'angular2/src/facade/lang';
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue