(node, className, cacheKey, properties)
| 736 | } |
| 737 | |
| 738 | function computeCachedCssStyles(node, className, cacheKey, properties) { |
| 739 | var timings = gcsLookup.get(cacheKey); |
| 740 | |
| 741 | if (!timings) { |
| 742 | timings = computeCssStyles($window, node, properties); |
| 743 | if (timings.animationIterationCount === 'infinite') { |
| 744 | timings.animationIterationCount = 1; |
| 745 | } |
| 746 | } |
| 747 | |
| 748 | // we keep putting this in multiple times even though the value and the cacheKey are the same |
| 749 | // because we're keeping an interal tally of how many duplicate animations are detected. |
| 750 | gcsLookup.put(cacheKey, timings); |
| 751 | return timings; |
| 752 | } |
| 753 | |
| 754 | function computeCachedCssStaggerStyles(node, className, cacheKey, properties) { |
| 755 | var stagger; |
no test coverage detected