Commit da597bcf authored by jeresig's avatar jeresig

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

Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c2842 for the catch.
parent 51283d96
...@@ -698,12 +698,12 @@ if ( window.ActiveXObject ) { ...@@ -698,12 +698,12 @@ if ( window.ActiveXObject ) {
if ( window.location.protocol !== "file:" ) { if ( window.location.protocol !== "file:" ) {
try { try {
return new window.XMLHttpRequest(); return new window.XMLHttpRequest();
} catch(e) {} } catch(xhrError) {}
} }
try { try {
return new window.ActiveXObject("Microsoft.XMLHTTP"); return new window.ActiveXObject("Microsoft.XMLHTTP");
} catch(e) {} } catch(activeError) {}
}; };
} }
......
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