(animation, excludeRootRepeats)
| 118 | return a; |
| 119 | }, |
| 120 | _getClippedDuration = function _getClippedDuration(animation, excludeRootRepeats) { |
| 121 | var max = 0, |
| 122 | repeat = Math.max(0, animation._repeat), |
| 123 | t = animation._first; |
| 124 | |
| 125 | if (!t) { |
| 126 | max = animation.duration(); |
| 127 | } |
| 128 | |
| 129 | while (t) { |
| 130 | max = Math.max(max, t.totalDuration() > 999 ? t.endTime(false) : t._start + t._tDur / t._ts); |
| 131 | t = t._next; |
| 132 | } |
| 133 | |
| 134 | return !excludeRootRepeats && repeat ? max * (repeat + 1) + animation._rDelay * repeat : max; |
| 135 | }, |
| 136 | _globalizeTime = function _globalizeTime(animation, rawTime) { |
| 137 | var a = animation, |
| 138 | time = arguments.length > 1 ? +rawTime : a.rawTime(); |
no test coverage detected
searching dependent graphs…