()
| 408 | } |
| 409 | |
| 410 | function complete(){ |
| 411 | // Process result |
| 412 | if ( s.complete ) |
| 413 | s.complete(xhr, status); |
| 414 | |
| 415 | // The request was completed |
| 416 | if ( s.global ) |
| 417 | jQuery.event.trigger( "ajaxComplete", [xhr, s] ); |
| 418 | |
| 419 | // Handle the global AJAX counter |
| 420 | if ( s.global && ! --jQuery.active ) |
| 421 | jQuery.event.trigger( "ajaxStop" ); |
| 422 | } |
| 423 | |
| 424 | // return XMLHttpRequest to allow aborting the request etc. |
| 425 | return xhr; |
no outgoing calls
no test coverage detected