File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ var r20 = /%20/g,
45
45
ajaxLocParts ,
46
46
47
47
// Avoid comment-prolog char sequence (#10098); must appease lint and evade compression
48
- starSlashStar = "*/" . concat ( "*" ) ;
48
+ allTypes = "*/" . concat ( "*" ) ;
49
49
50
50
// #8138, IE may throw an exception when accessing
51
51
// a field from window.location if document.domain has been set
@@ -334,7 +334,7 @@ jQuery.extend({
334
334
html : "text/html" ,
335
335
text : "text/plain" ,
336
336
json : "application/json, text/javascript" ,
337
- "*" : starSlashStar
337
+ "*" : allTypes
338
338
} ,
339
339
340
340
contents : {
@@ -705,7 +705,7 @@ jQuery.extend({
705
705
jqXHR . setRequestHeader (
706
706
"Accept" ,
707
707
s . dataTypes [ 0 ] && s . accepts [ s . dataTypes [ 0 ] ] ?
708
- s . accepts [ s . dataTypes [ 0 ] ] + ( s . dataTypes [ 0 ] !== "*" ? ", " + starSlashStar + "; q=0.01" : "" ) :
708
+ s . accepts [ s . dataTypes [ 0 ] ] + ( s . dataTypes [ 0 ] !== "*" ? ", " + allTypes + "; q=0.01" : "" ) :
709
709
s . accepts [ "*" ]
710
710
) ;
711
711
You can’t perform that action at this time.
0 commit comments