(node, className, cacheKey)
| 943 | } |
| 944 | |
| 945 | function computeTimings(node, className, cacheKey) { |
| 946 | var timings = computeCachedCssStyles(node, className, cacheKey, DETECT_CSS_PROPERTIES); |
| 947 | var aD = timings.animationDelay; |
| 948 | var tD = timings.transitionDelay; |
| 949 | timings.maxDelay = aD && tD |
| 950 | ? Math.max(aD, tD) |
| 951 | : (aD || tD); |
| 952 | timings.maxDuration = Math.max( |
| 953 | timings.animationDuration * timings.animationIterationCount, |
| 954 | timings.transitionDuration); |
| 955 | |
| 956 | return timings; |
| 957 | } |
| 958 | |
| 959 | return function init(element, initialOptions) { |
| 960 | // all of the animation functions should create |
no test coverage detected