(node, className, cacheKey)
| 963 | } |
| 964 | |
| 965 | function computeTimings(node, className, cacheKey) { |
| 966 | var timings = computeCachedCssStyles(node, className, cacheKey, DETECT_CSS_PROPERTIES); |
| 967 | var aD = timings.animationDelay; |
| 968 | var tD = timings.transitionDelay; |
| 969 | timings.maxDelay = aD && tD |
| 970 | ? Math.max(aD, tD) |
| 971 | : (aD || tD); |
| 972 | timings.maxDuration = Math.max( |
| 973 | timings.animationDuration * timings.animationIterationCount, |
| 974 | timings.transitionDuration); |
| 975 | |
| 976 | return timings; |
| 977 | } |
| 978 | |
| 979 | return function init(element, initialOptions) { |
| 980 | // all of the animation functions should create |
no test coverage detected