{"action":"created","issue":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/581","labels_url":"https://api.github.com/repos/fxbois/web-mode/issues/581/labels{/name}","comments_url":"https://api.github.com/repos/fxbois/web-mode/issues/581/comments","events_url":"https://api.github.com/repos/fxbois/web-mode/issues/581/events","html_url":"https://github.com/fxbois/web-mode/issues/581","id":106410617,"number":581,"title":".jsx question: highlighting and indents also for .js files?","user":{"login":"torgeir","id":118202,"avatar_url":"https://avatars.githubusercontent.com/u/118202?v=3","gravatar_id":"","url":"https://api.github.com/users/torgeir","html_url":"https://github.com/torgeir","followers_url":"https://api.github.com/users/torgeir/followers","following_url":"https://api.github.com/users/torgeir/following{/other_user}","gists_url":"https://api.github.com/users/torgeir/gists{/gist_id}","starred_url":"https://api.github.com/users/torgeir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torgeir/subscriptions","organizations_url":"https://api.github.com/users/torgeir/orgs","repos_url":"https://api.github.com/users/torgeir/repos","events_url":"https://api.github.com/users/torgeir/events{/privacy}","received_events_url":"https://api.github.com/users/torgeir/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/fxbois/web-mode/labels/fontification","name":"fontification","color":"fef2c0"},{"url":"https://api.github.com/repos/fxbois/web-mode/labels/jsx","name":"jsx","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-14T19:22:37Z","updated_at":"2015-09-14T20:32:00Z","closed_at":null,"body":"Hi and thanks for a great emacs mode! This is merely a question, not an issue;\r\n\r\nI see jsx highlighting and indenting kicking in when my files end in `.jsx` (on the left)\r\n\r\n<img width=\"893\" alt=\"screen shot 2015-09-14 at 21 16 33\" src=\"https://cloud.githubusercontent.com/assets/118202/9859278/fbee0d82-5b25-11e5-849d-c2f8da5ef947.png\">\r\n\r\nWhat is needed to make this behavior the same for `.js` files as well?\r\n\r\nAlso, the ending paren seems to be kind of off? I haven't done too much configuration of `web-mode`, these are the interresting parts\r\n\r\n```\r\n(add-hook 'web-mode-hook ; http://web-mode.org/\r\n            (lambda ()\r\n              (dolist (mode '(js-mode html-mode css-mode))\r\n                (yas-activate-extra-mode mode))\r\n              (setq web-mode-markup-indent-offset indent)\r\n              (setq web-mode-css-indent-offset indent)\r\n              (setq web-mode-code-indent-offset indent)))\r\n```"},"comment":{"url":"https://api.github.com/repos/fxbois/web-mode/issues/comments/140197506","html_url":"https://github.com/fxbois/web-mode/issues/581#issuecomment-140197506","issue_url":"https://api.github.com/repos/fxbois/web-mode/issues/581","id":140197506,"user":{"login":"torgeir","id":118202,"avatar_url":"https://avatars.githubusercontent.com/u/118202?v=3","gravatar_id":"","url":"https://api.github.com/users/torgeir","html_url":"https://github.com/torgeir","followers_url":"https://api.github.com/users/torgeir/followers","following_url":"https://api.github.com/users/torgeir/following{/other_user}","gists_url":"https://api.github.com/users/torgeir/gists{/gist_id}","starred_url":"https://api.github.com/users/torgeir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/torgeir/subscriptions","organizations_url":"https://api.github.com/users/torgeir/orgs","repos_url":"https://api.github.com/users/torgeir/repos","events_url":"https://api.github.com/users/torgeir/events{/privacy}","received_events_url":"https://api.github.com/users/torgeir/received_events","type":"User","site_admin":false},"created_at":"2015-09-14T20:32:00Z","updated_at":"2015-09-14T20:32:00Z","body":"Alright, thanks."}}