Skip to content
Permalink
Browse files

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

… for the catch.
  • Loading branch information...
jeresig committed Oct 9, 2010
1 parent 51283d9 commit da597bcf9014b1827e50c0e8f3b9268318574572
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/ajax.js
@@ -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) {}
};
}

1 comment on commit da597bc

@rwaldron

This comment has been minimized.

Copy link
Member

commented on da597bc Oct 9, 2010

Awesome - speedy patching!

Please sign in to comment.
You can’t perform that action at this time.