aboutsummaryrefslogtreecommitdiffstats
path: root/src/attributes/classes.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/attributes/classes.js')
-rw-r--r--src/attributes/classes.js15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/attributes/classes.js b/src/attributes/classes.js
index f1571eb5d..e020aa5cf 100644
--- a/src/attributes/classes.js
+++ b/src/attributes/classes.js
@@ -1,12 +1,9 @@
-define( [
- "../core",
- "../core/stripAndCollapse",
- "../var/rnothtmlwhite",
- "../data/var/dataPriv",
- "../core/init"
-], function( jQuery, stripAndCollapse, rnothtmlwhite, dataPriv ) {
+import jQuery from "../core.js";
+import stripAndCollapse from "../core/stripAndCollapse.js";
+import rnothtmlwhite from "../var/rnothtmlwhite.js";
+import dataPriv from "../data/var/dataPriv.js";
-"use strict";
+import "../core/init.js";
function getClass( elem ) {
return elem.getAttribute && elem.getAttribute( "class" ) || "";
@@ -181,5 +178,3 @@ jQuery.fn.extend( {
return false;
}
} );
-
-} );