diff --git a/modules/angular2/src/core/change_detection.ts b/modules/angular2/src/core/change_detection.ts index b131dcfb66..3d41713cd7 100644 --- a/modules/angular2/src/core/change_detection.ts +++ b/modules/angular2/src/core/change_detection.ts @@ -10,8 +10,6 @@ export { ExpressionChangedAfterItHasBeenCheckedException, ChangeDetectionError, - ChangeDetector, - Locals, ChangeDetectorRef, WrappedValue, diff --git a/modules/angular2/src/core/change_detection/parser/locals.ts b/modules/angular2/src/core/change_detection/parser/locals.ts index b6212c6182..4c15a043e9 100644 --- a/modules/angular2/src/core/change_detection/parser/locals.ts +++ b/modules/angular2/src/core/change_detection/parser/locals.ts @@ -2,6 +2,9 @@ import {isPresent} from 'angular2/src/core/facade/lang'; import {BaseException} from 'angular2/src/core/facade/exceptions'; import {ListWrapper, MapWrapper} from 'angular2/src/core/facade/collection'; +/** + * @private + */ export class Locals { constructor(public parent: Locals, public current: Map) {} diff --git a/modules/angular2/src/core/life_cycle/life_cycle.ts b/modules/angular2/src/core/life_cycle/life_cycle.ts index 9c3d4bf291..7b62ceeeb7 100644 --- a/modules/angular2/src/core/life_cycle/life_cycle.ts +++ b/modules/angular2/src/core/life_cycle/life_cycle.ts @@ -39,6 +39,9 @@ export class LifeCycle { _enforceNoNewChanges: boolean; _runningTick: boolean = false; + /** + * @private + */ constructor(changeDetector: ChangeDetector = null, enforceNoNewChanges: boolean = false) { this._changeDetectors = []; if (isPresent(changeDetector)) { diff --git a/modules/angular2/test/public_api_spec.ts b/modules/angular2/test/public_api_spec.ts index e057c567e6..ba3c07cc6d 100644 --- a/modules/angular2/test/public_api_spec.ts +++ b/modules/angular2/test/public_api_spec.ts @@ -1119,13 +1119,6 @@ var NG_API = [ '{AfterContentInit}', '{AfterViewChecked}', '{AfterViewInit}', - '{ChangeDetector}', - '{ChangeDetector}.mode', - '{ChangeDetector}.mode=', - '{ChangeDetector}.parent', - '{ChangeDetector}.parent=', - '{ChangeDetector}.ref', - '{ChangeDetector}.ref=', '{ControlValueAccessor}', '{DoCheck}', '{Form}',