mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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 New Issue
Block a user