{"action":"created","issue":{"url":"https://api.github.com/repos/atom/language-javascript/issues/92","labels_url":"https://api.github.com/repos/atom/language-javascript/issues/92/labels{/name}","comments_url":"https://api.github.com/repos/atom/language-javascript/issues/92/comments","events_url":"https://api.github.com/repos/atom/language-javascript/issues/92/events","html_url":"https://github.com/atom/language-javascript/pull/92","id":54666892,"number":92,"title":"Fixes #77","user":{"login":"UltimateBrent","id":1173624,"avatar_url":"https://avatars.githubusercontent.com/u/1173624?v=3","gravatar_id":"","url":"https://api.github.com/users/UltimateBrent","html_url":"https://github.com/UltimateBrent","followers_url":"https://api.github.com/users/UltimateBrent/followers","following_url":"https://api.github.com/users/UltimateBrent/following{/other_user}","gists_url":"https://api.github.com/users/UltimateBrent/gists{/gist_id}","starred_url":"https://api.github.com/users/UltimateBrent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UltimateBrent/subscriptions","organizations_url":"https://api.github.com/users/UltimateBrent/orgs","repos_url":"https://api.github.com/users/UltimateBrent/repos","events_url":"https://api.github.com/users/UltimateBrent/events{/privacy}","received_events_url":"https://api.github.com/users/UltimateBrent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-17T16:43:20Z","updated_at":"2015-01-17T21:23:01Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/atom/language-javascript/pulls/92","html_url":"https://github.com/atom/language-javascript/pull/92","diff_url":"https://github.com/atom/language-javascript/pull/92.diff","patch_url":"https://github.com/atom/language-javascript/pull/92.patch"},"body":"Reverts part of https://github.com/atom/language-javascript/commit/e38f1cd9eddea7cb9994342ca9bceef2a4e3d7ff that was causing overzealous decrease of indents, especially on lists of objects inside an array. Each `{` was causing a decrease of indent.\r\n"},"comment":{"url":"https://api.github.com/repos/atom/language-javascript/issues/comments/70384965","html_url":"https://github.com/atom/language-javascript/pull/92#issuecomment-70384965","issue_url":"https://api.github.com/repos/atom/language-javascript/issues/92","id":70384965,"user":{"login":"50Wliu","id":2766036,"avatar_url":"https://avatars.githubusercontent.com/u/2766036?v=3","gravatar_id":"","url":"https://api.github.com/users/50Wliu","html_url":"https://github.com/50Wliu","followers_url":"https://api.github.com/users/50Wliu/followers","following_url":"https://api.github.com/users/50Wliu/following{/other_user}","gists_url":"https://api.github.com/users/50Wliu/gists{/gist_id}","starred_url":"https://api.github.com/users/50Wliu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/50Wliu/subscriptions","organizations_url":"https://api.github.com/users/50Wliu/orgs","repos_url":"https://api.github.com/users/50Wliu/repos","events_url":"https://api.github.com/users/50Wliu/events{/privacy}","received_events_url":"https://api.github.com/users/50Wliu/received_events","type":"User","site_admin":false},"created_at":"2015-01-17T21:23:01Z","updated_at":"2015-01-17T21:23:01Z","body":"With this patch, does the following still get auto-indented correctly?\r\n```javascript\r\nif(true)\r\n{\r\n    console.log('Q');\r\n}\r\n```\r\n\r\nI think that line was there to prevent this from happening:\r\n```javascript\r\nif(true)\r\n    {\r\n        console.log('D:');\r\n    }\r\n```"}}