(name, amount)
| 3469 | }]); |
| 3470 | } |
| 3471 | function registerBackOut(name, amount) { |
| 3472 | registerEasing([name, function (percentComplete, startValue, endValue) { |
| 3473 | if (percentComplete === 0) { |
| 3474 | return startValue; |
| 3475 | } |
| 3476 | if (percentComplete === 1) { |
| 3477 | return endValue; |
| 3478 | } |
| 3479 | return (Math.pow(--percentComplete, 2) * ((amount + 1) * percentComplete + amount) + 1) * (endValue - startValue); |
| 3480 | }]); |
| 3481 | } |
| 3482 | function registerBackInOut(name, amount) { |
| 3483 | amount *= 1.525; |
| 3484 | registerEasing([name, function (percentComplete, startValue, endValue) { |
no test coverage detected
searching dependent graphs…