mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
Quote reserved keyword 'throws' to satisfy yui compressor. Fixes #12158.
This commit is contained in:
parent
e07b444dfe
commit
beeab4d126
@ -861,7 +861,7 @@ function ajaxConvert( s, response ) {
|
||||
if ( conv !== true ) {
|
||||
|
||||
// Unless errors are allowed to bubble, catch and return them
|
||||
if ( conv && s.throws ) {
|
||||
if ( conv && s["throws"] ) {
|
||||
response = conv( response );
|
||||
} else {
|
||||
try {
|
||||
|
@ -362,7 +362,7 @@ jQuery.fn.extend({
|
||||
dataType: "script",
|
||||
async: false,
|
||||
global: false,
|
||||
throws: true
|
||||
"throws": true
|
||||
});
|
||||
} else {
|
||||
jQuery.error("no ajax");
|
||||
|
Loading…
Reference in New Issue
Block a user