(animation, excludeRootRepeats)
| 79 | return a; |
| 80 | }, |
| 81 | _getClippedDuration = (animation, excludeRootRepeats) => { |
| 82 | let max = 0, |
| 83 | repeat = Math.max(0, animation._repeat), |
| 84 | t = animation._first; |
| 85 | if (!t) { |
| 86 | max = animation.duration(); |
| 87 | } |
| 88 | while (t) { |
| 89 | max = Math.max(max, t.totalDuration() > 999 ? t.endTime(false) : t._start + t._tDur / t._ts); |
| 90 | t = t._next; |
| 91 | } |
| 92 | return (!excludeRootRepeats && repeat) ? max * (repeat + 1) + (animation._rDelay * repeat) : max; |
| 93 | }, |
| 94 | _globalizeTime = function(animation, rawTime) { |
| 95 | let a = animation, |
| 96 | time = arguments.length > 1 ? +rawTime : a.rawTime(); |
no test coverage detected
searching dependent graphs…