Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c28425f
for the catch.
This commit is contained in:
parent
51283d9643
commit
da597bcf90
|
@ -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) {}
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue