(ratio, data)
| 42 | return data.set(data.t, data.p, ratio === 1 ? data.e : Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u, data); |
| 43 | }, |
| 44 | _renderCSSPropWithBeginning = function _renderCSSPropWithBeginning(ratio, data) { |
| 45 | return data.set(data.t, data.p, ratio ? Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u : data.b, data); |
| 46 | }, |
| 47 | //if units change, we need a way to render the original unit/value when the tween goes all the way back to the beginning (ratio:0) |
| 48 | _renderCSSPropWithBeginningAndEnd = function _renderCSSPropWithBeginningAndEnd(ratio, data) { |
| 49 | return data.set(data.t, data.p, ratio === 1 ? data.e : ratio ? Math.round((data.s + data.c * ratio) * 10000) / 10000 + data.u : data.b, data); |
nothing calls this directly
no test coverage detected
searching dependent graphs…