{"action":"created","issue":{"url":"https://api.github.com/repos/manGoweb/mango-cli-example/issues/11","repository_url":"https://api.github.com/repos/manGoweb/mango-cli-example","labels_url":"https://api.github.com/repos/manGoweb/mango-cli-example/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/manGoweb/mango-cli-example/issues/11/comments","events_url":"https://api.github.com/repos/manGoweb/mango-cli-example/issues/11/events","html_url":"https://github.com/manGoweb/mango-cli-example/pull/11","id":174263996,"number":11,"title":"Coding style cleanup","user":{"login":"JirkaVebr","id":361072,"avatar_url":"https://avatars.githubusercontent.com/u/361072?v=3","gravatar_id":"","url":"https://api.github.com/users/JirkaVebr","html_url":"https://github.com/JirkaVebr","followers_url":"https://api.github.com/users/JirkaVebr/followers","following_url":"https://api.github.com/users/JirkaVebr/following{/other_user}","gists_url":"https://api.github.com/users/JirkaVebr/gists{/gist_id}","starred_url":"https://api.github.com/users/JirkaVebr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JirkaVebr/subscriptions","organizations_url":"https://api.github.com/users/JirkaVebr/orgs","repos_url":"https://api.github.com/users/JirkaVebr/repos","events_url":"https://api.github.com/users/JirkaVebr/events{/privacy}","received_events_url":"https://api.github.com/users/JirkaVebr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-31T12:47:02Z","updated_at":"2016-08-31T12:52:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/manGoweb/mango-cli-example/pulls/11","html_url":"https://github.com/manGoweb/mango-cli-example/pull/11","diff_url":"https://github.com/manGoweb/mango-cli-example/pull/11.diff","patch_url":"https://github.com/manGoweb/mango-cli-example/pull/11.patch"},"body":"This pull request makes the example abide by our own coding standards as outlined on the Wiki. There are some potential points of contention (which is why I'm not just pushing it to master 😃):\r\n\r\n- The anonymous components with shorter exports facilitate renaming and also make the code base consistent with itself.\r\n- I guess the `DEBUG && …` is a matter of taste but the previous state wasn't acceptable as we aren't supposed to leave out the `if` statements' braces.\r\n- Template literals are far easier to write and read so I used them where appropriate"},"comment":{"url":"https://api.github.com/repos/manGoweb/mango-cli-example/issues/comments/243754022","html_url":"https://github.com/manGoweb/mango-cli-example/pull/11#issuecomment-243754022","issue_url":"https://api.github.com/repos/manGoweb/mango-cli-example/issues/11","id":243754022,"user":{"login":"Cactucs","id":4283010,"avatar_url":"https://avatars.githubusercontent.com/u/4283010?v=3","gravatar_id":"","url":"https://api.github.com/users/Cactucs","html_url":"https://github.com/Cactucs","followers_url":"https://api.github.com/users/Cactucs/followers","following_url":"https://api.github.com/users/Cactucs/following{/other_user}","gists_url":"https://api.github.com/users/Cactucs/gists{/gist_id}","starred_url":"https://api.github.com/users/Cactucs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cactucs/subscriptions","organizations_url":"https://api.github.com/users/Cactucs/orgs","repos_url":"https://api.github.com/users/Cactucs/repos","events_url":"https://api.github.com/users/Cactucs/events{/privacy}","received_events_url":"https://api.github.com/users/Cactucs/received_events","type":"User","site_admin":false},"created_at":"2016-08-31T12:52:45Z","updated_at":"2016-08-31T12:52:45Z","body":"Good, but @enzy don't like using\r\n```\r\nmodule.exports = class Component {}\r\n```\r\ninstead of\r\n```\r\nclass Component {}\r\nmodule.exports = Component\r\n```\r\n\r\n\r\nBecause then you are not able to do some changes on class (e.g. change the behaviour of the class based on feature detection)"}}
{"actor":{"display_login":"Cactucs"}}