]> source.dussan.org Git - jquery.git/commitdiff
Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c28425fb64fdb48cfa...
authorjeresig <jeresig@gmail.com>
Sat, 9 Oct 2010 16:26:44 +0000 (12:26 -0400)
committerjeresig <jeresig@gmail.com>
Sat, 9 Oct 2010 16:26:44 +0000 (12:26 -0400)
src/ajax.js

index e6154806808093afcd5e84df95a2ecde89b3ae23..95e40ecd28459fce8f7e93d18aab0dbc7542cbd1 100644 (file)
@@ -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) {}
        };
 }