jquery.mockjax.js
function jsonpSuccess(requestSettings, callbackContext, mockHandler) {
		// If a local callback was specified, fire it and pass it the data
		if ( requestSettings.success ) {
			requestSettings.success.call( callbackContext, mockHandler.responseText || "", status, {} );
		}

		// Fire the global callback
		if ( requestSettings.global ) {
			(requestSettings.context ? $(requestSettings.context) : $.event).trigger("ajaxSuccess", [{}, requestSettings]);
		}
	}
function jsonpSuccess(requestSettings, callbackContext, mockHandler) {
		// If a local callback was specified, fire it and pass it the data
		if ( requestSettings.success ) {
			requestSettings.success.call( callbackContext, mockHandler.responseText || "", status, {} );
		}

		// Fire the global callback
		if ( requestSettings.global ) {
			(requestSettings.context ? $(requestSettings.context) : $.event).trigger("ajaxSuccess", [{}, requestSettings]);
		}
	}
function jsonpSuccess ( requestSettings , callbackContext , mockHandler ) { // If a local callback was specified, fire it and pass it the data if ( requestSettings . success ) { requestSettings . success . call ( callbackContext , mockHandler . responseText || "" , status , { } ) ; } // Fire the global callback if ( requestSettings . global ) { ( requestSettings . context ? $ ( requestSettings . context ) : $ . event ) . trigger ( "ajaxSuccess" , [ { } , requestSettings ] ) ; } }
The JSONP request was successful
The JSONP request was successful