From 554d8cb3e3c96e524ad22471e8ff45def95fd097 Mon Sep 17 00:00:00 2001 From: shao Date: Wed, 31 Jul 2019 19:23:11 +0800 Subject: [PATCH] fix: review change --- components/_util/easings.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/_util/easings.ts b/components/_util/easings.ts index 8831e9187d..a71ac8f22e 100644 --- a/components/_util/easings.ts +++ b/components/_util/easings.ts @@ -1,4 +1,4 @@ -function easeInOutCubic(t: number, b: number, c: number, d: number) { +export function easeInOutCubic(t: number, b: number, c: number, d: number) { const cc = c - b; t /= d / 2; if (t < 1) { @@ -6,5 +6,3 @@ function easeInOutCubic(t: number, b: number, c: number, d: number) { } return (cc / 2) * ((t -= 2) * t * t + 2) + b; } - -export { easeInOutCubic };