aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/xhr.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r--src/ajax/xhr.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index 3a9c9e968..6feb94d57 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -1,3 +1,8 @@
+define([
+ "../core",
+ "../ajax"
+], function( jQuery ) {
+
jQuery.ajaxSettings.xhr = function() {
try {
return new XMLHttpRequest();
@@ -109,3 +114,5 @@ jQuery.ajaxTransport(function( options ) {
};
}
});
+
+});