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.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ajax/script.js b/src/ajax/script.js
index fe0562a84..f44329d4e 100644
--- a/src/ajax/script.js
+++ b/src/ajax/script.js
@@ -1,3 +1,8 @@
+define([
+ "../core",
+ "../ajax"
+], function( jQuery ) {
+
// Install script dataType
jQuery.ajaxSetup({
accepts: {
@@ -55,3 +60,5 @@ jQuery.ajaxTransport( "script", function( s ) {
};
}
});
+
+});