diff options
author | Wonseop Kim <wonseop.kim@samsung.com> | 2020-05-05 17:49:27 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-05 10:49:27 +0200 |
commit | 3d62d5704989f17d3a20ae7521d52e9c8c60b4ee (patch) | |
tree | e65bc1fe0f602abb63c9de17f75ab85524a35f61 /src/ajax/xhr.js | |
parent | 11066a9e6ac183dd710d1bc7aa74a3f809757136 (diff) | |
download | jquery-3d62d5704989f17d3a20ae7521d52e9c8c60b4ee.tar.gz jquery-3d62d5704989f17d3a20ae7521d52e9c8c60b4ee.zip |
Build: Correct code indentations based on jQuery Style Guide
1. Correct code indentations based on jQuery Style Guide
(contribute.jquery.org/style-guide/js/#spacing).
2. Add rules to "src/.eslintrc.json" to enable "enforcing consistent
indentation", with minimal changes to the current code.
Closes gh-4672
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r-- | src/ajax/xhr.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index f6bd52337..2c9bc8125 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -8,9 +8,9 @@ jQuery.ajaxSettings.xhr = function() { var xhrSuccessStatus = { - // File protocol always yields status code 0, assume 200 - 0: 200 - }; + // File protocol always yields status code 0, assume 200 + 0: 200 +}; jQuery.ajaxTransport( function( options ) { var callback; |