aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/xhr.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2011-12-08 20:42:47 -0500
committerDave Methvin <dave.methvin@gmail.com>2011-12-08 21:04:57 -0500
commit98386cfd775fdfa7837ccbec173b04f1e6d57896 (patch)
tree74783699ba88a0bf17bfb88e8b3e8141b7c868fe /src/ajax/xhr.js
parentd6500cc8ded8d3d02e19a3ab831b6b9cf43e82ae (diff)
downloadjquery-98386cfd775fdfa7837ccbec173b04f1e6d57896.tar.gz
jquery-98386cfd775fdfa7837ccbec173b04f1e6d57896.zip
Fix #10692. JSLint is dead! Long live JSHint!
Still needs this sizzle PR: https://github.com/jquery/sizzle/pull/82
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r--src/ajax/xhr.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js
index a87c32392..d4d8ecfc9 100644
--- a/src/ajax/xhr.js
+++ b/src/ajax/xhr.js
@@ -27,11 +27,11 @@ function createActiveXHR() {
// (This is still attached to ajaxSettings for backward compatibility)
jQuery.ajaxSettings.xhr = window.ActiveXObject ?
/* Microsoft failed to properly
- * implement the XMLHttpRequest in IE7 (can't request local files),
- * so we use the ActiveXObject when it is available
- * Additionally XMLHttpRequest can be disabled in IE7/IE8 so
- * we need a fallback.
- */
+ * implement the XMLHttpRequest in IE7 (can't request local files),
+ * so we use the ActiveXObject when it is available
+ * Additionally XMLHttpRequest can be disabled in IE7/IE8 so
+ * we need a fallback.
+ */
function() {
return !this.isLocal && createStandardXHR() || createActiveXHR();
} :