aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax
diff options
context:
space:
mode:
authorRick Waldron <waldron.rick@gmail.com>2012-06-04 12:48:18 -0400
committerRick Waldron <waldron.rick@gmail.com>2012-06-04 12:48:18 -0400
commit7c23b77af2477417205fda9bde5208a81e57e40e (patch)
treed325a34f92a4792fc5ee6aee8266b86bd0e25a98 /src/ajax
parent9a3046c3752b80da7526dce34968b8422f3d92f8 (diff)
downloadjquery-7c23b77af2477417205fda9bde5208a81e57e40e.tar.gz
jquery-7c23b77af2477417205fda9bde5208a81e57e40e.zip
Strips IIFEs from modules; Always require built jQuery for tests.
Diffstat (limited to 'src/ajax')
-rw-r--r--src/ajax/jsonp.js4
-rw-r--r--src/ajax/script.js4
-rw-r--r--src/ajax/xhr.js4
3 files changed, 0 insertions, 12 deletions
diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js
index 3e3ea85a3..c39913fac 100644
--- a/src/ajax/jsonp.js
+++ b/src/ajax/jsonp.js
@@ -1,5 +1,3 @@
-(function( jQuery ) {
-
var oldCallbacks = [],
rquestion = /\?/,
rjsonp = /(=)\?(?=&|$)|\?\?/,
@@ -87,5 +85,3 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
return "script";
}
});
-
-})( jQuery );
diff --git a/src/ajax/script.js b/src/ajax/script.js
index f7a918010..48b329ae3 100644
--- a/src/ajax/script.js
+++ b/src/ajax/script.js
@@ -1,5 +1,3 @@
-(function( jQuery ) {
-
// Install script dataType
jQuery.ajaxSetup({
accepts: {
@@ -85,5 +83,3 @@ jQuery.ajaxTransport( "script", function(s) {
};
}
});
-
-})( jQuery );
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index 186432f61..fb431034d 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -1,5 +1,3 @@
-(function( jQuery ) {
-
var // #5280: Internet Explorer will keep connections alive if we don't abort on unload
xhrOnUnloadAbort = window.ActiveXObject ? function() {
// Abort all pending requests
@@ -222,5 +220,3 @@ if ( jQuery.support.ajax ) {
}
});
}
-
-})( jQuery );