Commit beeab4d1 authored by Timmy Willison's avatar Timmy Willison

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

parent e07b444d
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment