Tweak spacing from last commit.
This commit is contained in:
parent
d1931a8241
commit
c34a62f8ab
0
speed/benchmarker.css
Normal file → Executable file
0
speed/benchmarker.css
Normal file → Executable file
0
speed/benchmarker.js
Normal file → Executable file
0
speed/benchmarker.js
Normal file → Executable file
0
speed/index.html
Normal file → Executable file
0
speed/index.html
Normal file → Executable file
|
@ -238,6 +238,7 @@ jQuery.extend({
|
|||
|
||||
// Handle JSONP-style loading
|
||||
var customJsonp = window[ jsonp ];
|
||||
|
||||
window[ jsonp ] = function( tmp ) {
|
||||
data = tmp;
|
||||
jQuery.ajax.handleSuccess( s, xhr, status, data );
|
||||
|
@ -245,8 +246,8 @@ jQuery.extend({
|
|||
|
||||
if ( jQuery.isFunction( customJsonp ) ) {
|
||||
customJsonp( tmp );
|
||||
}
|
||||
else {
|
||||
|
||||
} else {
|
||||
// Garbage collect
|
||||
window[ jsonp ] = undefined;
|
||||
|
||||
|
@ -446,6 +447,7 @@ jQuery.extend({
|
|||
if ( !jsonp ) {
|
||||
jQuery.ajax.handleComplete( s, xhr, status, data );
|
||||
}
|
||||
|
||||
if ( isTimeout === "timeout" ) {
|
||||
xhr.abort();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue