Lines Matching refs:s

6954 			s = jQuery.ajaxSetup( {}, options ),
6956 callbackContext = s.context || s,
6960 globalEventContext = callbackContext !== s &&
6967 statusCode = s.statusCode || {},
7026 s.mimeType = type;
7073 response = responses ? ajaxHandleResponses( s, jqXHR, responses ) : undefined,
7081 if ( s.ifModified ) {
7101 success = ajaxConvert( s, response );
7139 [ jqXHR, s, isSuccess ? success : error ] );
7146 globalEventContext.trigger( "ajaxComplete", [ jqXHR, s] );
7179s.url = ( ( url || s.url ) + "" ).replace( rhash, "" ).replace( rprotocol, ajaxLocParts[ 1 ] + "//…
7182 s.dataTypes = jQuery.trim( s.dataType || "*" ).toLowerCase().split( rspacesAjax );
7185 if ( s.crossDomain == null ) {
7186 parts = rurl.exec( s.url.toLowerCase() );
7187 s.crossDomain = !!( parts &&
7195 if ( s.data && s.processData && typeof s.data !== "string" ) {
7196 s.data = jQuery.param( s.data, s.traditional );
7200 inspectPrefiltersOrTransports( prefilters, s, options, jqXHR );
7208 fireGlobals = s.global;
7211 s.type = s.type.toUpperCase();
7214 s.hasContent = !rnoContent.test( s.type );
7222 if ( !s.hasContent ) {
7225 if ( s.data ) {
7226 s.url += ( rquery.test( s.url ) ? "&" : "?" ) + s.data;
7230 ifModifiedKey = s.url;
7233 if ( s.cache === false ) {
7237 ret = s.url.replace( rts, "$1_=" + ts );
7240 s.url = ret + ( (ret === s.url ) ? ( rquery.test( s.url ) ? "&" : "?" ) + "_=" + ts : "" );
7245 if ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {
7246 jqXHR.setRequestHeader( "Content-Type", s.contentType );
7250 if ( s.ifModified ) {
7251 ifModifiedKey = ifModifiedKey || s.url;
7263 s.dataTypes[ 0 ] && s.accepts[ s.dataTypes[0] ] ?
7264 s.accepts[ s.dataTypes[0] ] + ( s.dataTypes[ 0 ] !== "*" ? ", */*; q=0.01" : "" ) :
7265 s.accepts[ "*" ]
7269 for ( i in s.headers ) {
7270 jqXHR.setRequestHeader( i, s.headers[ i ] );
7274 …if ( s.beforeSend && ( s.beforeSend.call( callbackContext, jqXHR, s ) === false || state === 2 ) )…
7283 jqXHR[ i ]( s[ i ] );
7287 transport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );
7296 globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
7299 if ( s.async && s.timeout > 0 ) {
7302 }, s.timeout );
7325 var s = [],
7329 s[ s.length ] = encodeURIComponent( key ) + "=" + encodeURIComponent( value );
7353 return s.join( "&" ).replace( r20, "+" );
7407 function ajaxHandleResponses( s, jqXHR, responses ) { argument
7409 var contents = s.contents,
7410 dataTypes = s.dataTypes,
7411 responseFields = s.responseFields,
7428 ct = s.mimeType || jqXHR.getResponseHeader( "content-type" );
7448 if ( !dataTypes[ 0 ] || s.converters[ type + " " + dataTypes[0] ] ) {
7472 function ajaxConvert( s, response ) { argument
7475 if ( s.dataFilter ) {
7476 response = s.dataFilter( response, s.dataType );
7479 var dataTypes = s.dataTypes,
7502 for( key in s.converters ) {
7504 converters[ key.toLowerCase() ] = s.converters[ key ];
7571 jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) { argument
7573 var inspectData = s.contentType === "application/x-www-form-urlencoded" &&
7574 ( typeof s.data === "string" );
7576 if ( s.dataTypes[ 0 ] === "jsonp" ||
7577 s.jsonp !== false && ( jsre.test( s.url ) ||
7578 inspectData && jsre.test( s.data ) ) ) {
7581 jsonpCallback = s.jsonpCallback =
7582 jQuery.isFunction( s.jsonpCallback ) ? s.jsonpCallback() : s.jsonpCallback,
7584 url = s.url,
7585 data = s.data,
7588 if ( s.jsonp !== false ) {
7590 if ( s.url === url ) {
7594 if ( s.data === data ) {
7596 url += (/\?/.test( url ) ? "&" : "?") + s.jsonp + "=" + jsonpCallback;
7601 s.url = url;
7602 s.data = data;
7620 s.converters["script json"] = function() {
7628 s.dataTypes[ 0 ] = "json";
7655 jQuery.ajaxPrefilter( "script", function( s ) { argument
7656 if ( s.cache === undefined ) {
7657 s.cache = false;
7659 if ( s.crossDomain ) {
7660 s.type = "GET";
7661 s.global = false;
7666 jQuery.ajaxTransport( "script", function(s) { argument
7669 if ( s.crossDomain ) {
7682 if ( s.scriptCharset ) {
7683 script.charset = s.scriptCharset;
7686 script.src = s.url;
7776 jQuery.ajaxTransport(function( s ) { argument
7778 if ( !s.crossDomain || jQuery.support.cors ) {
7786 var xhr = s.xhr(),
7792 if ( s.username ) {
7793 xhr.open( s.type, s.url, s.async, s.username, s.password );
7795 xhr.open( s.type, s.url, s.async );
7799 if ( s.xhrFields ) {
7800 for ( i in s.xhrFields ) {
7801 xhr[ i ] = s.xhrFields[ i ];
7806 if ( s.mimeType && xhr.overrideMimeType ) {
7807 xhr.overrideMimeType( s.mimeType );
7815 if ( !s.crossDomain && !headers["X-Requested-With"] ) {
7829 xhr.send( ( s.hasContent && s.data ) || null );
7891 if ( !status && s.isLocal && !s.crossDomain ) {
7914 if ( !s.async || xhr.readyState === 4 ) {