chore(lint): enable requireInternalWithUnderscore tslint check

This commit is contained in:
Alex Eagle
2016-05-27 09:16:46 -07:00
parent 2019050db2
commit b5d14c26d2
8 changed files with 12 additions and 2 deletions

View File

@ -16,11 +16,13 @@ export abstract class AnimationPlayer {
}
export class NoOpAnimationPlayer implements AnimationPlayer {
private _subscriptions = [];
public parentPlayer: AnimationPlayer = null;
constructor() {
scheduleMicroTask(() => this._onFinish());
}
/** @internal */
_onFinish() {
this._subscriptions.forEach(entry => { entry(); });
this._subscriptions = [];