More code style fixes.
This commit is contained in:
parent
dd5bf42122
commit
ee22c8b34b
3 changed files with 10 additions and 11 deletions
|
@ -12,10 +12,9 @@ jQuery.ajaxSetup({
|
|||
});
|
||||
|
||||
// Detect, normalize options and install callbacks for jsonp requests
|
||||
// (dataIsString is used internally)
|
||||
jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, dataIsString ) {
|
||||
jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, dataIsString /* internal */ ) {
|
||||
|
||||
dataIsString = ( typeof( s.data ) === "string" );
|
||||
dataIsString = ( typeof s.data === "string" );
|
||||
|
||||
if ( s.dataTypes[ 0 ] === "jsonp" ||
|
||||
originalSettings.jsonpCallback ||
|
||||
|
|
|
@ -14,7 +14,7 @@ jQuery.ajaxSetup({
|
|||
});
|
||||
|
||||
// Handle cache's special case and global
|
||||
jQuery.ajaxPrefilter( "script", function(s) {
|
||||
jQuery.ajaxPrefilter( "script", function( s ) {
|
||||
if ( s.cache === undefined ) {
|
||||
s.cache = false;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue