(node, className, cacheKey, allowNoDuration)
| 913 | } |
| 914 | |
| 915 | function computeTimings(node, className, cacheKey, allowNoDuration) { |
| 916 | var timings = computeCachedCssStyles(node, className, cacheKey, allowNoDuration, DETECT_CSS_PROPERTIES); |
| 917 | var aD = timings.animationDelay; |
| 918 | var tD = timings.transitionDelay; |
| 919 | timings.maxDelay = aD && tD |
| 920 | ? Math.max(aD, tD) |
| 921 | : (aD || tD); |
| 922 | timings.maxDuration = Math.max( |
| 923 | timings.animationDuration * timings.animationIterationCount, |
| 924 | timings.transitionDuration); |
| 925 | |
| 926 | return timings; |
| 927 | } |
| 928 | |
| 929 | return function init(element, initialOptions) { |
| 930 | // all of the animation functions should create |
no test coverage detected