aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax.js
diff options
context:
space:
mode:
authorTimmy Willison <timmywillisn@gmail.com>2012-07-30 10:44:47 -0400
committerTimmy Willison <timmywillisn@gmail.com>2012-07-30 10:44:47 -0400
commitbeeab4d126b303b194899adf579d8f43e3fd5e69 (patch)
tree8c49b1a0b1e499ba8d77a20cf52849c0d7baaad7 /src/ajax.js
parente07b444dfe87f26f0d6031920026142425505ad6 (diff)
downloadjquery-beeab4d126b303b194899adf579d8f43e3fd5e69.tar.gz
jquery-beeab4d126b303b194899adf579d8f43e3fd5e69.zip
Quote reserved keyword 'throws' to satisfy yui compressor. Fixes #12158.
Diffstat (limited to 'src/ajax.js')
-rw-r--r--src/ajax.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax.js b/src/ajax.js
index 304a41d48..f3887ff44 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -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 {