From 7c23b77af2477417205fda9bde5208a81e57e40e Mon Sep 17 00:00:00 2001 From: Rick Waldron Date: Mon, 4 Jun 2012 12:48:18 -0400 Subject: Strips IIFEs from modules; Always require built jQuery for tests. --- src/ajax/jsonp.js | 4 ---- src/ajax/script.js | 4 ---- src/ajax/xhr.js | 4 ---- 3 files changed, 12 deletions(-) (limited to 'src/ajax') 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 ); -- cgit v1.2.3