From 135bb4ff812d9f97b961670ad9c4ed9d14f333bb Mon Sep 17 00:00:00 2001 From: Mike Sherov Date: Thu, 19 Jan 2012 21:47:23 -0500 Subject: Add undef:true to JSHint now that it understands hoisting also add smarttabs:true and fix some smarttabs spacing issues --- src/ajax/xhr.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/ajax') 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(); } : -- cgit v1.2.3