Skip to content

Commit fdf6678

Browse files
committed
changed the type of export
1 parent c1dfee2 commit fdf6678

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

easing.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11

2-
const easing = {
3-
easeOutCirc (x, t, b, c, d) {
4-
return c * Math.sqrt(1 - (t = t/d - 1) * t) + b;
5-
}
2+
3+
export const easeOutCirc = (x, t, b, c, d) => {
4+
return c * Math.sqrt(1 - (t = t/d - 1) * t) + b;
65
}
76

8-
export default easing
7+
export default {
8+
easeOutCirc,
9+
}
910

1011

0 commit comments

Comments
 (0)