Revert "fix(animations): always fire inner trigger callbacks even if blocked by parent animations (#19753)"

This reverts commit d47b2a6f70.
This commit is contained in:
Miško Hevery
2017-11-15 17:04:22 -06:00
parent 043e408805
commit f8658cdc38
7 changed files with 32 additions and 228 deletions

View File

@ -184,13 +184,6 @@ export class WebAnimationsPlayer implements AnimationPlayer {
}
this.currentSnapshot = styles;
}
/* @internal */
triggerCallback(phaseName: string): void {
const methods = phaseName == 'start' ? this._onStartFns : this._onDoneFns;
methods.forEach(fn => fn());
methods.length = 0;
}
}
function _computeStyle(element: any, prop: string): string {