Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c28425f for the catch.

This commit is contained in:
jeresig 2010-10-09 12:26:44 -04:00
parent 51283d9643
commit da597bcf90

View 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) {}
};
}