Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-inclu.../js/jquery
File: jquery.js
[9500] Fix | Delete
// Send global event
[9501] Fix | Delete
if ( fireGlobals ) {
[9502] Fix | Delete
globalEventContext.trigger( "ajaxSend", [ jqXHR, s ] );
[9503] Fix | Delete
}
[9504] Fix | Delete
[9505] Fix | Delete
// If request was aborted inside ajaxSend, stop there
[9506] Fix | Delete
if ( completed ) {
[9507] Fix | Delete
return jqXHR;
[9508] Fix | Delete
}
[9509] Fix | Delete
[9510] Fix | Delete
// Timeout
[9511] Fix | Delete
if ( s.async && s.timeout > 0 ) {
[9512] Fix | Delete
timeoutTimer = window.setTimeout( function() {
[9513] Fix | Delete
jqXHR.abort( "timeout" );
[9514] Fix | Delete
}, s.timeout );
[9515] Fix | Delete
}
[9516] Fix | Delete
[9517] Fix | Delete
try {
[9518] Fix | Delete
completed = false;
[9519] Fix | Delete
transport.send( requestHeaders, done );
[9520] Fix | Delete
} catch ( e ) {
[9521] Fix | Delete
[9522] Fix | Delete
// Rethrow post-completion exceptions
[9523] Fix | Delete
if ( completed ) {
[9524] Fix | Delete
throw e;
[9525] Fix | Delete
}
[9526] Fix | Delete
[9527] Fix | Delete
// Propagate others as results
[9528] Fix | Delete
done( -1, e );
[9529] Fix | Delete
}
[9530] Fix | Delete
}
[9531] Fix | Delete
[9532] Fix | Delete
// Callback for when everything is done
[9533] Fix | Delete
function done( status, nativeStatusText, responses, headers ) {
[9534] Fix | Delete
var isSuccess, success, error, response, modified,
[9535] Fix | Delete
statusText = nativeStatusText;
[9536] Fix | Delete
[9537] Fix | Delete
// Ignore repeat invocations
[9538] Fix | Delete
if ( completed ) {
[9539] Fix | Delete
return;
[9540] Fix | Delete
}
[9541] Fix | Delete
[9542] Fix | Delete
completed = true;
[9543] Fix | Delete
[9544] Fix | Delete
// Clear timeout if it exists
[9545] Fix | Delete
if ( timeoutTimer ) {
[9546] Fix | Delete
window.clearTimeout( timeoutTimer );
[9547] Fix | Delete
}
[9548] Fix | Delete
[9549] Fix | Delete
// Dereference transport for early garbage collection
[9550] Fix | Delete
// (no matter how long the jqXHR object will be used)
[9551] Fix | Delete
transport = undefined;
[9552] Fix | Delete
[9553] Fix | Delete
// Cache response headers
[9554] Fix | Delete
responseHeadersString = headers || "";
[9555] Fix | Delete
[9556] Fix | Delete
// Set readyState
[9557] Fix | Delete
jqXHR.readyState = status > 0 ? 4 : 0;
[9558] Fix | Delete
[9559] Fix | Delete
// Determine if successful
[9560] Fix | Delete
isSuccess = status >= 200 && status < 300 || status === 304;
[9561] Fix | Delete
[9562] Fix | Delete
// Get response data
[9563] Fix | Delete
if ( responses ) {
[9564] Fix | Delete
response = ajaxHandleResponses( s, jqXHR, responses );
[9565] Fix | Delete
}
[9566] Fix | Delete
[9567] Fix | Delete
// Use a noop converter for missing script but not if jsonp
[9568] Fix | Delete
if ( !isSuccess &&
[9569] Fix | Delete
jQuery.inArray( "script", s.dataTypes ) > -1 &&
[9570] Fix | Delete
jQuery.inArray( "json", s.dataTypes ) < 0 ) {
[9571] Fix | Delete
s.converters[ "text script" ] = function() {};
[9572] Fix | Delete
}
[9573] Fix | Delete
[9574] Fix | Delete
// Convert no matter what (that way responseXXX fields are always set)
[9575] Fix | Delete
response = ajaxConvert( s, response, jqXHR, isSuccess );
[9576] Fix | Delete
[9577] Fix | Delete
// If successful, handle type chaining
[9578] Fix | Delete
if ( isSuccess ) {
[9579] Fix | Delete
[9580] Fix | Delete
// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.
[9581] Fix | Delete
if ( s.ifModified ) {
[9582] Fix | Delete
modified = jqXHR.getResponseHeader( "Last-Modified" );
[9583] Fix | Delete
if ( modified ) {
[9584] Fix | Delete
jQuery.lastModified[ cacheURL ] = modified;
[9585] Fix | Delete
}
[9586] Fix | Delete
modified = jqXHR.getResponseHeader( "etag" );
[9587] Fix | Delete
if ( modified ) {
[9588] Fix | Delete
jQuery.etag[ cacheURL ] = modified;
[9589] Fix | Delete
}
[9590] Fix | Delete
}
[9591] Fix | Delete
[9592] Fix | Delete
// if no content
[9593] Fix | Delete
if ( status === 204 || s.type === "HEAD" ) {
[9594] Fix | Delete
statusText = "nocontent";
[9595] Fix | Delete
[9596] Fix | Delete
// if not modified
[9597] Fix | Delete
} else if ( status === 304 ) {
[9598] Fix | Delete
statusText = "notmodified";
[9599] Fix | Delete
[9600] Fix | Delete
// If we have data, let's convert it
[9601] Fix | Delete
} else {
[9602] Fix | Delete
statusText = response.state;
[9603] Fix | Delete
success = response.data;
[9604] Fix | Delete
error = response.error;
[9605] Fix | Delete
isSuccess = !error;
[9606] Fix | Delete
}
[9607] Fix | Delete
} else {
[9608] Fix | Delete
[9609] Fix | Delete
// Extract error from statusText and normalize for non-aborts
[9610] Fix | Delete
error = statusText;
[9611] Fix | Delete
if ( status || !statusText ) {
[9612] Fix | Delete
statusText = "error";
[9613] Fix | Delete
if ( status < 0 ) {
[9614] Fix | Delete
status = 0;
[9615] Fix | Delete
}
[9616] Fix | Delete
}
[9617] Fix | Delete
}
[9618] Fix | Delete
[9619] Fix | Delete
// Set data for the fake xhr object
[9620] Fix | Delete
jqXHR.status = status;
[9621] Fix | Delete
jqXHR.statusText = ( nativeStatusText || statusText ) + "";
[9622] Fix | Delete
[9623] Fix | Delete
// Success/Error
[9624] Fix | Delete
if ( isSuccess ) {
[9625] Fix | Delete
deferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );
[9626] Fix | Delete
} else {
[9627] Fix | Delete
deferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );
[9628] Fix | Delete
}
[9629] Fix | Delete
[9630] Fix | Delete
// Status-dependent callbacks
[9631] Fix | Delete
jqXHR.statusCode( statusCode );
[9632] Fix | Delete
statusCode = undefined;
[9633] Fix | Delete
[9634] Fix | Delete
if ( fireGlobals ) {
[9635] Fix | Delete
globalEventContext.trigger( isSuccess ? "ajaxSuccess" : "ajaxError",
[9636] Fix | Delete
[ jqXHR, s, isSuccess ? success : error ] );
[9637] Fix | Delete
}
[9638] Fix | Delete
[9639] Fix | Delete
// Complete
[9640] Fix | Delete
completeDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );
[9641] Fix | Delete
[9642] Fix | Delete
if ( fireGlobals ) {
[9643] Fix | Delete
globalEventContext.trigger( "ajaxComplete", [ jqXHR, s ] );
[9644] Fix | Delete
[9645] Fix | Delete
// Handle the global AJAX counter
[9646] Fix | Delete
if ( !( --jQuery.active ) ) {
[9647] Fix | Delete
jQuery.event.trigger( "ajaxStop" );
[9648] Fix | Delete
}
[9649] Fix | Delete
}
[9650] Fix | Delete
}
[9651] Fix | Delete
[9652] Fix | Delete
return jqXHR;
[9653] Fix | Delete
},
[9654] Fix | Delete
[9655] Fix | Delete
getJSON: function( url, data, callback ) {
[9656] Fix | Delete
return jQuery.get( url, data, callback, "json" );
[9657] Fix | Delete
},
[9658] Fix | Delete
[9659] Fix | Delete
getScript: function( url, callback ) {
[9660] Fix | Delete
return jQuery.get( url, undefined, callback, "script" );
[9661] Fix | Delete
}
[9662] Fix | Delete
} );
[9663] Fix | Delete
[9664] Fix | Delete
jQuery.each( [ "get", "post" ], function( _i, method ) {
[9665] Fix | Delete
jQuery[ method ] = function( url, data, callback, type ) {
[9666] Fix | Delete
[9667] Fix | Delete
// Shift arguments if data argument was omitted
[9668] Fix | Delete
if ( isFunction( data ) ) {
[9669] Fix | Delete
type = type || callback;
[9670] Fix | Delete
callback = data;
[9671] Fix | Delete
data = undefined;
[9672] Fix | Delete
}
[9673] Fix | Delete
[9674] Fix | Delete
// The url can be an options object (which then must have .url)
[9675] Fix | Delete
return jQuery.ajax( jQuery.extend( {
[9676] Fix | Delete
url: url,
[9677] Fix | Delete
type: method,
[9678] Fix | Delete
dataType: type,
[9679] Fix | Delete
data: data,
[9680] Fix | Delete
success: callback
[9681] Fix | Delete
}, jQuery.isPlainObject( url ) && url ) );
[9682] Fix | Delete
};
[9683] Fix | Delete
} );
[9684] Fix | Delete
[9685] Fix | Delete
jQuery.ajaxPrefilter( function( s ) {
[9686] Fix | Delete
var i;
[9687] Fix | Delete
for ( i in s.headers ) {
[9688] Fix | Delete
if ( i.toLowerCase() === "content-type" ) {
[9689] Fix | Delete
s.contentType = s.headers[ i ] || "";
[9690] Fix | Delete
}
[9691] Fix | Delete
}
[9692] Fix | Delete
} );
[9693] Fix | Delete
[9694] Fix | Delete
[9695] Fix | Delete
jQuery._evalUrl = function( url, options, doc ) {
[9696] Fix | Delete
return jQuery.ajax( {
[9697] Fix | Delete
url: url,
[9698] Fix | Delete
[9699] Fix | Delete
// Make this explicit, since user can override this through ajaxSetup (trac-11264)
[9700] Fix | Delete
type: "GET",
[9701] Fix | Delete
dataType: "script",
[9702] Fix | Delete
cache: true,
[9703] Fix | Delete
async: false,
[9704] Fix | Delete
global: false,
[9705] Fix | Delete
[9706] Fix | Delete
// Only evaluate the response if it is successful (gh-4126)
[9707] Fix | Delete
// dataFilter is not invoked for failure responses, so using it instead
[9708] Fix | Delete
// of the default converter is kludgy but it works.
[9709] Fix | Delete
converters: {
[9710] Fix | Delete
"text script": function() {}
[9711] Fix | Delete
},
[9712] Fix | Delete
dataFilter: function( response ) {
[9713] Fix | Delete
jQuery.globalEval( response, options, doc );
[9714] Fix | Delete
}
[9715] Fix | Delete
} );
[9716] Fix | Delete
};
[9717] Fix | Delete
[9718] Fix | Delete
[9719] Fix | Delete
jQuery.fn.extend( {
[9720] Fix | Delete
wrapAll: function( html ) {
[9721] Fix | Delete
var wrap;
[9722] Fix | Delete
[9723] Fix | Delete
if ( this[ 0 ] ) {
[9724] Fix | Delete
if ( isFunction( html ) ) {
[9725] Fix | Delete
html = html.call( this[ 0 ] );
[9726] Fix | Delete
}
[9727] Fix | Delete
[9728] Fix | Delete
// The elements to wrap the target around
[9729] Fix | Delete
wrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );
[9730] Fix | Delete
[9731] Fix | Delete
if ( this[ 0 ].parentNode ) {
[9732] Fix | Delete
wrap.insertBefore( this[ 0 ] );
[9733] Fix | Delete
}
[9734] Fix | Delete
[9735] Fix | Delete
wrap.map( function() {
[9736] Fix | Delete
var elem = this;
[9737] Fix | Delete
[9738] Fix | Delete
while ( elem.firstElementChild ) {
[9739] Fix | Delete
elem = elem.firstElementChild;
[9740] Fix | Delete
}
[9741] Fix | Delete
[9742] Fix | Delete
return elem;
[9743] Fix | Delete
} ).append( this );
[9744] Fix | Delete
}
[9745] Fix | Delete
[9746] Fix | Delete
return this;
[9747] Fix | Delete
},
[9748] Fix | Delete
[9749] Fix | Delete
wrapInner: function( html ) {
[9750] Fix | Delete
if ( isFunction( html ) ) {
[9751] Fix | Delete
return this.each( function( i ) {
[9752] Fix | Delete
jQuery( this ).wrapInner( html.call( this, i ) );
[9753] Fix | Delete
} );
[9754] Fix | Delete
}
[9755] Fix | Delete
[9756] Fix | Delete
return this.each( function() {
[9757] Fix | Delete
var self = jQuery( this ),
[9758] Fix | Delete
contents = self.contents();
[9759] Fix | Delete
[9760] Fix | Delete
if ( contents.length ) {
[9761] Fix | Delete
contents.wrapAll( html );
[9762] Fix | Delete
[9763] Fix | Delete
} else {
[9764] Fix | Delete
self.append( html );
[9765] Fix | Delete
}
[9766] Fix | Delete
} );
[9767] Fix | Delete
},
[9768] Fix | Delete
[9769] Fix | Delete
wrap: function( html ) {
[9770] Fix | Delete
var htmlIsFunction = isFunction( html );
[9771] Fix | Delete
[9772] Fix | Delete
return this.each( function( i ) {
[9773] Fix | Delete
jQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );
[9774] Fix | Delete
} );
[9775] Fix | Delete
},
[9776] Fix | Delete
[9777] Fix | Delete
unwrap: function( selector ) {
[9778] Fix | Delete
this.parent( selector ).not( "body" ).each( function() {
[9779] Fix | Delete
jQuery( this ).replaceWith( this.childNodes );
[9780] Fix | Delete
} );
[9781] Fix | Delete
return this;
[9782] Fix | Delete
}
[9783] Fix | Delete
} );
[9784] Fix | Delete
[9785] Fix | Delete
[9786] Fix | Delete
jQuery.expr.pseudos.hidden = function( elem ) {
[9787] Fix | Delete
return !jQuery.expr.pseudos.visible( elem );
[9788] Fix | Delete
};
[9789] Fix | Delete
jQuery.expr.pseudos.visible = function( elem ) {
[9790] Fix | Delete
return !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );
[9791] Fix | Delete
};
[9792] Fix | Delete
[9793] Fix | Delete
[9794] Fix | Delete
[9795] Fix | Delete
[9796] Fix | Delete
jQuery.ajaxSettings.xhr = function() {
[9797] Fix | Delete
try {
[9798] Fix | Delete
return new window.XMLHttpRequest();
[9799] Fix | Delete
} catch ( e ) {}
[9800] Fix | Delete
};
[9801] Fix | Delete
[9802] Fix | Delete
var xhrSuccessStatus = {
[9803] Fix | Delete
[9804] Fix | Delete
// File protocol always yields status code 0, assume 200
[9805] Fix | Delete
0: 200,
[9806] Fix | Delete
[9807] Fix | Delete
// Support: IE <=9 only
[9808] Fix | Delete
// trac-1450: sometimes IE returns 1223 when it should be 204
[9809] Fix | Delete
1223: 204
[9810] Fix | Delete
},
[9811] Fix | Delete
xhrSupported = jQuery.ajaxSettings.xhr();
[9812] Fix | Delete
[9813] Fix | Delete
support.cors = !!xhrSupported && ( "withCredentials" in xhrSupported );
[9814] Fix | Delete
support.ajax = xhrSupported = !!xhrSupported;
[9815] Fix | Delete
[9816] Fix | Delete
jQuery.ajaxTransport( function( options ) {
[9817] Fix | Delete
var callback, errorCallback;
[9818] Fix | Delete
[9819] Fix | Delete
// Cross domain only allowed if supported through XMLHttpRequest
[9820] Fix | Delete
if ( support.cors || xhrSupported && !options.crossDomain ) {
[9821] Fix | Delete
return {
[9822] Fix | Delete
send: function( headers, complete ) {
[9823] Fix | Delete
var i,
[9824] Fix | Delete
xhr = options.xhr();
[9825] Fix | Delete
[9826] Fix | Delete
xhr.open(
[9827] Fix | Delete
options.type,
[9828] Fix | Delete
options.url,
[9829] Fix | Delete
options.async,
[9830] Fix | Delete
options.username,
[9831] Fix | Delete
options.password
[9832] Fix | Delete
);
[9833] Fix | Delete
[9834] Fix | Delete
// Apply custom fields if provided
[9835] Fix | Delete
if ( options.xhrFields ) {
[9836] Fix | Delete
for ( i in options.xhrFields ) {
[9837] Fix | Delete
xhr[ i ] = options.xhrFields[ i ];
[9838] Fix | Delete
}
[9839] Fix | Delete
}
[9840] Fix | Delete
[9841] Fix | Delete
// Override mime type if needed
[9842] Fix | Delete
if ( options.mimeType && xhr.overrideMimeType ) {
[9843] Fix | Delete
xhr.overrideMimeType( options.mimeType );
[9844] Fix | Delete
}
[9845] Fix | Delete
[9846] Fix | Delete
// X-Requested-With header
[9847] Fix | Delete
// For cross-domain requests, seeing as conditions for a preflight are
[9848] Fix | Delete
// akin to a jigsaw puzzle, we simply never set it to be sure.
[9849] Fix | Delete
// (it can always be set on a per-request basis or even using ajaxSetup)
[9850] Fix | Delete
// For same-domain requests, won't change header if already provided.
[9851] Fix | Delete
if ( !options.crossDomain && !headers[ "X-Requested-With" ] ) {
[9852] Fix | Delete
headers[ "X-Requested-With" ] = "XMLHttpRequest";
[9853] Fix | Delete
}
[9854] Fix | Delete
[9855] Fix | Delete
// Set headers
[9856] Fix | Delete
for ( i in headers ) {
[9857] Fix | Delete
xhr.setRequestHeader( i, headers[ i ] );
[9858] Fix | Delete
}
[9859] Fix | Delete
[9860] Fix | Delete
// Callback
[9861] Fix | Delete
callback = function( type ) {
[9862] Fix | Delete
return function() {
[9863] Fix | Delete
if ( callback ) {
[9864] Fix | Delete
callback = errorCallback = xhr.onload =
[9865] Fix | Delete
xhr.onerror = xhr.onabort = xhr.ontimeout =
[9866] Fix | Delete
xhr.onreadystatechange = null;
[9867] Fix | Delete
[9868] Fix | Delete
if ( type === "abort" ) {
[9869] Fix | Delete
xhr.abort();
[9870] Fix | Delete
} else if ( type === "error" ) {
[9871] Fix | Delete
[9872] Fix | Delete
// Support: IE <=9 only
[9873] Fix | Delete
// On a manual native abort, IE9 throws
[9874] Fix | Delete
// errors on any property access that is not readyState
[9875] Fix | Delete
if ( typeof xhr.status !== "number" ) {
[9876] Fix | Delete
complete( 0, "error" );
[9877] Fix | Delete
} else {
[9878] Fix | Delete
complete(
[9879] Fix | Delete
[9880] Fix | Delete
// File: protocol always yields status 0; see trac-8605, trac-14207
[9881] Fix | Delete
xhr.status,
[9882] Fix | Delete
xhr.statusText
[9883] Fix | Delete
);
[9884] Fix | Delete
}
[9885] Fix | Delete
} else {
[9886] Fix | Delete
complete(
[9887] Fix | Delete
xhrSuccessStatus[ xhr.status ] || xhr.status,
[9888] Fix | Delete
xhr.statusText,
[9889] Fix | Delete
[9890] Fix | Delete
// Support: IE <=9 only
[9891] Fix | Delete
// IE9 has no XHR2 but throws on binary (trac-11426)
[9892] Fix | Delete
// For XHR2 non-text, let the caller handle it (gh-2498)
[9893] Fix | Delete
( xhr.responseType || "text" ) !== "text" ||
[9894] Fix | Delete
typeof xhr.responseText !== "string" ?
[9895] Fix | Delete
{ binary: xhr.response } :
[9896] Fix | Delete
{ text: xhr.responseText },
[9897] Fix | Delete
xhr.getAllResponseHeaders()
[9898] Fix | Delete
);
[9899] Fix | Delete
}
[9900] Fix | Delete
}
[9901] Fix | Delete
};
[9902] Fix | Delete
};
[9903] Fix | Delete
[9904] Fix | Delete
// Listen to events
[9905] Fix | Delete
xhr.onload = callback();
[9906] Fix | Delete
errorCallback = xhr.onerror = xhr.ontimeout = callback( "error" );
[9907] Fix | Delete
[9908] Fix | Delete
// Support: IE 9 only
[9909] Fix | Delete
// Use onreadystatechange to replace onabort
[9910] Fix | Delete
// to handle uncaught aborts
[9911] Fix | Delete
if ( xhr.onabort !== undefined ) {
[9912] Fix | Delete
xhr.onabort = errorCallback;
[9913] Fix | Delete
} else {
[9914] Fix | Delete
xhr.onreadystatechange = function() {
[9915] Fix | Delete
[9916] Fix | Delete
// Check readyState before timeout as it changes
[9917] Fix | Delete
if ( xhr.readyState === 4 ) {
[9918] Fix | Delete
[9919] Fix | Delete
// Allow onerror to be called first,
[9920] Fix | Delete
// but that will not handle a native abort
[9921] Fix | Delete
// Also, save errorCallback to a variable
[9922] Fix | Delete
// as xhr.onerror cannot be accessed
[9923] Fix | Delete
window.setTimeout( function() {
[9924] Fix | Delete
if ( callback ) {
[9925] Fix | Delete
errorCallback();
[9926] Fix | Delete
}
[9927] Fix | Delete
} );
[9928] Fix | Delete
}
[9929] Fix | Delete
};
[9930] Fix | Delete
}
[9931] Fix | Delete
[9932] Fix | Delete
// Create the abort callback
[9933] Fix | Delete
callback = callback( "abort" );
[9934] Fix | Delete
[9935] Fix | Delete
try {
[9936] Fix | Delete
[9937] Fix | Delete
// Do send the request (this may raise an exception)
[9938] Fix | Delete
xhr.send( options.hasContent && options.data || null );
[9939] Fix | Delete
} catch ( e ) {
[9940] Fix | Delete
[9941] Fix | Delete
// trac-14683: Only rethrow if this hasn't been notified as an error yet
[9942] Fix | Delete
if ( callback ) {
[9943] Fix | Delete
throw e;
[9944] Fix | Delete
}
[9945] Fix | Delete
}
[9946] Fix | Delete
},
[9947] Fix | Delete
[9948] Fix | Delete
abort: function() {
[9949] Fix | Delete
if ( callback ) {
[9950] Fix | Delete
callback();
[9951] Fix | Delete
}
[9952] Fix | Delete
}
[9953] Fix | Delete
};
[9954] Fix | Delete
}
[9955] Fix | Delete
} );
[9956] Fix | Delete
[9957] Fix | Delete
[9958] Fix | Delete
[9959] Fix | Delete
[9960] Fix | Delete
// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)
[9961] Fix | Delete
jQuery.ajaxPrefilter( function( s ) {
[9962] Fix | Delete
if ( s.crossDomain ) {
[9963] Fix | Delete
s.contents.script = false;
[9964] Fix | Delete
}
[9965] Fix | Delete
} );
[9966] Fix | Delete
[9967] Fix | Delete
// Install script dataType
[9968] Fix | Delete
jQuery.ajaxSetup( {
[9969] Fix | Delete
accepts: {
[9970] Fix | Delete
script: "text/javascript, application/javascript, " +
[9971] Fix | Delete
"application/ecmascript, application/x-ecmascript"
[9972] Fix | Delete
},
[9973] Fix | Delete
contents: {
[9974] Fix | Delete
script: /\b(?:java|ecma)script\b/
[9975] Fix | Delete
},
[9976] Fix | Delete
converters: {
[9977] Fix | Delete
"text script": function( text ) {
[9978] Fix | Delete
jQuery.globalEval( text );
[9979] Fix | Delete
return text;
[9980] Fix | Delete
}
[9981] Fix | Delete
}
[9982] Fix | Delete
} );
[9983] Fix | Delete
[9984] Fix | Delete
// Handle cache's special case and crossDomain
[9985] Fix | Delete
jQuery.ajaxPrefilter( "script", function( s ) {
[9986] Fix | Delete
if ( s.cache === undefined ) {
[9987] Fix | Delete
s.cache = false;
[9988] Fix | Delete
}
[9989] Fix | Delete
if ( s.crossDomain ) {
[9990] Fix | Delete
s.type = "GET";
[9991] Fix | Delete
}
[9992] Fix | Delete
} );
[9993] Fix | Delete
[9994] Fix | Delete
// Bind script tag hack transport
[9995] Fix | Delete
jQuery.ajaxTransport( "script", function( s ) {
[9996] Fix | Delete
[9997] Fix | Delete
// This transport only deals with cross domain or forced-by-attrs requests
[9998] Fix | Delete
if ( s.crossDomain || s.scriptAttrs ) {
[9999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function