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.js13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/css/adjustCSS.js b/src/css/adjustCSS.js
index 5341a7890..d973ff386 100644
--- a/src/css/adjustCSS.js
+++ b/src/css/adjustCSS.js
@@ -1,10 +1,6 @@
-define( [
- "../core",
- "./isAutoPx",
- "../var/rcssNum"
-], function( jQuery, isAutoPx, rcssNum ) {
-
-"use strict";
+import jQuery from "../core.js";
+import isAutoPx from "./isAutoPx.js";
+import rcssNum from "../var/rcssNum.js";
function adjustCSS( elem, prop, valueParts, tween ) {
var adjusted, scale,
@@ -71,5 +67,4 @@ function adjustCSS( elem, prop, valueParts, tween ) {
return adjusted;
}
-return adjustCSS;
-} );
+export default adjustCSS;