mirror of
https://github.com/jquery/jquery.git
synced 2026-04-20 03:01:22 -04:00
Name the try/catch arg to satisfy JSLint - thanks to @rwldrn in 873c28425f for the catch.
This commit is contained in:
@@ -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) {}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user