jquery.mockjax.js
function jsonpComplete(requestSettings, callbackContext) {
		// Process result
		if ( requestSettings.complete ) {
			requestSettings.complete.call( callbackContext, {} , status );
		}

		// The request was completed
		if ( requestSettings.global ) {
			(requestSettings.context ? $(requestSettings.context) : $.event).trigger("ajaxComplete", [{}, requestSettings]);
		}

		// Handle the global AJAX counter
		if ( requestSettings.global && ! --$.active ) {
			$.event.trigger( "ajaxStop" );
		}
	}
function jsonpComplete(requestSettings, callbackContext) {
		// Process result
		if ( requestSettings.complete ) {
			requestSettings.complete.call( callbackContext, {} , status );
		}

		// The request was completed
		if ( requestSettings.global ) {
			(requestSettings.context ? $(requestSettings.context) : $.event).trigger("ajaxComplete", [{}, requestSettings]);
		}

		// Handle the global AJAX counter
		if ( requestSettings.global && ! --$.active ) {
			$.event.trigger( "ajaxStop" );
		}
	}
function jsonpComplete ( requestSettings , callbackContext ) { // Process result if ( requestSettings . complete ) { requestSettings . complete . call ( callbackContext , { } , status ) ; } // The request was completed if ( requestSettings . global ) { ( requestSettings . context ? $ ( requestSettings . context ) : $ . event ) . trigger ( "ajaxComplete" , [ { } , requestSettings ] ) ; } // Handle the global AJAX counter if ( requestSettings . global && ! -- $ . active ) { $ . event . trigger ( "ajaxStop" ) ; } }
The JSONP request was completed
The JSONP request was completed