aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax/xhr.js
diff options
context:
space:
mode:
authorMike Sherov <mike.sherov@gmail.com>2012-01-19 21:47:23 -0500
committerDave Methvin <dave.methvin@gmail.com>2012-01-19 22:36:08 -0500
commit135bb4ff812d9f97b961670ad9c4ed9d14f333bb (patch)
tree43af456110dfb79c5dc143e8a465bb90291d6e39 /src/ajax/xhr.js
parent8d9025ca50603e5404c6b50f7fa6c87046ee24c1 (diff)
downloadjquery-135bb4ff812d9f97b961670ad9c4ed9d14f333bb.tar.gz
jquery-135bb4ff812d9f97b961670ad9c4ed9d14f333bb.zip
Add undef:true to JSHint now that it understands hoisting
also add smarttabs:true and fix some smarttabs spacing issues
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 d4d8ecfc9..a87c32392 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();
} :