Skip to content

Commit 4a4ec85

Browse files
committed
remove let _p2
1 parent 0e2a67c commit 4a4ec85

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/QueueAnim.jsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,12 @@ const _ease = {
3636
const _p1 = o >= 1 ? o : 1;
3737
const _p2 = (t || 1) / (o < 1 ? o : 1);
3838
const _p3 = _p2 / Math.PI * 2 * (Math.asin(1 / _p1) || 0);
39-
// _p2 = Math.PI * 2 / _p2;
4039
return -(_p1 * Math.pow(2, 10 * (p -= 1)) * Math.sin((p - _p3) * _p2));
4140
},
4241
easeOutElastic: function(p, o, t) {
4342
const _p1 = o >= 1 ? o : 1;
4443
const _p2 = (t || 1) / (o < 1 ? o : 1);
4544
const _p3 = _p2 / Math.PI * 2 * (Math.asin(1 / _p1) || 0);
46-
// _p2 = Math.PI * 2 / _p2;
4745
return _p1 * Math.pow(2, -10 * p) * Math.sin((p - _p3) * _p2) + 1;
4846
},
4947
easeInOutElastic: function(_p, o, t) {

0 commit comments

Comments
 (0)