chore(docs): added more docs for core.ts
This commit is contained in:
@@ -2,7 +2,7 @@ import {
|
||||
ChangeDetector,
|
||||
ProtoChangeDetector,
|
||||
DynamicChangeDetector
|
||||
} from 'angular2/change_detection';
|
||||
} from 'angular2/src/change_detection/change_detection';
|
||||
|
||||
import {DependencyProvider} from 'angular2/di';
|
||||
|
||||
@@ -23,4 +23,4 @@ export class SpyPipe extends SpyObject {
|
||||
|
||||
export class SpyPipeFactory extends SpyObject {}
|
||||
|
||||
export class SpyDependencyProvider extends SpyObject {}
|
||||
export class SpyDependencyProvider extends SpyObject {}
|
||||
|
||||
@@ -8,7 +8,7 @@ import {View} from 'angular2/src/core/annotations_impl/view';
|
||||
|
||||
import {ViewResolver} from 'angular2/src/core/compiler/view_resolver';
|
||||
import {AppView} from 'angular2/src/core/compiler/view';
|
||||
import {internalView} from 'angular2/src/core/compiler/view_ref';
|
||||
import {internalView, ViewRef} from 'angular2/src/core/compiler/view_ref';
|
||||
import {
|
||||
DynamicComponentLoader,
|
||||
ComponentRef
|
||||
@@ -26,9 +26,9 @@ export class RootTestComponent extends DebugElement {
|
||||
_componentParentView: AppView;
|
||||
|
||||
constructor(componentRef: ComponentRef) {
|
||||
super(internalView(componentRef.hostView), 0);
|
||||
super(internalView(<ViewRef>componentRef.hostView), 0);
|
||||
|
||||
this._componentParentView = internalView(componentRef.hostView);
|
||||
this._componentParentView = internalView(<ViewRef>componentRef.hostView);
|
||||
this._componentRef = componentRef;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ import {
|
||||
DynamicChangeDetection,
|
||||
Pipes,
|
||||
defaultPipes
|
||||
} from 'angular2/change_detection';
|
||||
} from 'angular2/src/change_detection/change_detection';
|
||||
import {ExceptionHandler} from 'angular2/src/core/exception_handler';
|
||||
import {ViewLoader} from 'angular2/src/render/dom/compiler/view_loader';
|
||||
import {ViewResolver} from 'angular2/src/core/compiler/view_resolver';
|
||||
|
||||
Reference in New Issue
Block a user