aboutsummaryrefslogtreecommitdiffstats
path: root/src/css/adjustCSS.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/css/adjustCSS.js')
-rw-r--r--src/css/adjustCSS.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/css/adjustCSS.js b/src/css/adjustCSS.js
index d973ff386..a5263f099 100644
--- a/src/css/adjustCSS.js
+++ b/src/css/adjustCSS.js
@@ -1,8 +1,8 @@
-import jQuery from "../core.js";
-import isAutoPx from "./isAutoPx.js";
-import rcssNum from "../var/rcssNum.js";
+import { jQuery } from "../core.js";
+import { isAutoPx } from "./isAutoPx.js";
+import { rcssNum } from "../var/rcssNum.js";
-function adjustCSS( elem, prop, valueParts, tween ) {
+export function adjustCSS( elem, prop, valueParts, tween ) {
var adjusted, scale,
maxIterations = 20,
currentValue = tween ?
@@ -66,5 +66,3 @@ function adjustCSS( elem, prop, valueParts, tween ) {
}
return adjusted;
}
-
-export default adjustCSS;