aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2010-10-09 12:26:44 -0400
committerjeresig <jeresig@gmail.com>2010-10-09 12:26:44 -0400
commitda597bcf9014b1827e50c0e8f3b9268318574572 (patch)
tree6bfd6e918417707375b97908fb4b229b25e398c2 /src
parent51283d9643726721acc415dba891004a30cf1ae6 (diff)
downloadjquery-da597bcf9014b1827e50c0e8f3b9268318574572.tar.gz
jquery-da597bcf9014b1827e50c0e8f3b9268318574572.zip
Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c28425fb64fdb48cfa09d17041bded39b301f for the catch.
Diffstat (limited to 'src')
-rw-r--r--src/ajax.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ajax.js b/src/ajax.js
index e61548068..95e40ecd2 100644
--- a/src/ajax.js
+++ b/src/ajax.js
@@ -698,12 +698,12 @@ if ( window.ActiveXObject ) {
if ( window.location.protocol !== "file:" ) {
try {
return new window.XMLHttpRequest();
- } catch(e) {}
+ } catch(xhrError) {}
}
try {
return new window.ActiveXObject("Microsoft.XMLHTTP");
- } catch(e) {}
+ } catch(activeError) {}
};
}