aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/script.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/script.js')
-rw-r--r--src/ajax/script.js11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/ajax/script.js b/src/ajax/script.js
index 410c82cab..22dc29183 100644
--- a/src/ajax/script.js
+++ b/src/ajax/script.js
@@ -1,10 +1,7 @@
-define( [
- "../core",
- "../var/document",
- "../ajax"
-], function( jQuery, document ) {
+import jQuery from "../core.js";
+import document from "../var/document.js";
-"use strict";
+import "../ajax.js";
// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
jQuery.ajaxPrefilter( function( s ) {
@@ -70,5 +67,3 @@ jQuery.ajaxTransport( "script", function( s ) {
};
}
} );
-
-} );