Revert "refactor(platform-browser): move platform-browser/animations to animations/browser (#15043)"

This reverts commit 195b863ea4.
This commit is contained in:
Chuck Jazdzewski
2017-03-13 15:46:44 -07:00
parent 498a95148b
commit e6c81d2a42
58 changed files with 84 additions and 210 deletions

View File

@ -1,29 +0,0 @@
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
import {ɵStyleData} from '@angular/animations';
import {AnimationEngineInstruction, AnimationTransitionInstructionType} from '../render/animation_engine_instruction';
export interface AnimationTimelineInstruction extends AnimationEngineInstruction {
keyframes: ɵStyleData[];
duration: number;
delay: number;
totalTime: number;
easing: string;
}
export function createTimelineInstruction(
keyframes: ɵStyleData[], duration: number, delay: number,
easing: string): AnimationTimelineInstruction {
return {
type: AnimationTransitionInstructionType.TimelineAnimation,
keyframes,
duration,
delay,
totalTime: duration + delay, easing
};
}