Quote reserved keyword 'throws' to satisfy yui compressor. Fixes #12158.

This commit is contained in:
Timmy Willison 2012-07-30 10:44:47 -04:00
parent e07b444dfe
commit beeab4d126
2 changed files with 2 additions and 2 deletions

View File

@ -861,7 +861,7 @@ function ajaxConvert( s, response ) {
if ( conv !== true ) { if ( conv !== true ) {
// Unless errors are allowed to bubble, catch and return them // Unless errors are allowed to bubble, catch and return them
if ( conv && s.throws ) { if ( conv && s["throws"] ) {
response = conv( response ); response = conv( response );
} else { } else {
try { try {

View File

@ -362,7 +362,7 @@ jQuery.fn.extend({
dataType: "script", dataType: "script",
async: false, async: false,
global: false, global: false,
throws: true "throws": true
}); });
} else { } else {
jQuery.error("no ajax"); jQuery.error("no ajax");