{"action":"created","issue":{"url":"https://api.github.com/repos/MostlyAdequate/mostly-adequate-guide/issues/273","repository_url":"https://api.github.com/repos/MostlyAdequate/mostly-adequate-guide","labels_url":"https://api.github.com/repos/MostlyAdequate/mostly-adequate-guide/issues/273/labels{/name}","comments_url":"https://api.github.com/repos/MostlyAdequate/mostly-adequate-guide/issues/273/comments","events_url":"https://api.github.com/repos/MostlyAdequate/mostly-adequate-guide/issues/273/events","html_url":"https://github.com/MostlyAdequate/mostly-adequate-guide/pull/273","id":152667846,"number":273,"title":"Update to ES6 | ES2015 (revived)","user":{"login":"christiantakle","id":684866,"avatar_url":"https://avatars.githubusercontent.com/u/684866?v=3","gravatar_id":"","url":"https://api.github.com/users/christiantakle","html_url":"https://github.com/christiantakle","followers_url":"https://api.github.com/users/christiantakle/followers","following_url":"https://api.github.com/users/christiantakle/following{/other_user}","gists_url":"https://api.github.com/users/christiantakle/gists{/gist_id}","starred_url":"https://api.github.com/users/christiantakle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christiantakle/subscriptions","organizations_url":"https://api.github.com/users/christiantakle/orgs","repos_url":"https://api.github.com/users/christiantakle/repos","events_url":"https://api.github.com/users/christiantakle/events{/privacy}","received_events_url":"https://api.github.com/users/christiantakle/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":55,"created_at":"2016-05-02T23:22:27Z","updated_at":"2016-06-20T13:32:48Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/MostlyAdequate/mostly-adequate-guide/pulls/273","html_url":"https://github.com/MostlyAdequate/mostly-adequate-guide/pull/273","diff_url":"https://github.com/MostlyAdequate/mostly-adequate-guide/pull/273.diff","patch_url":"https://github.com/MostlyAdequate/mostly-adequate-guide/pull/273.patch"},"body":"I've accidentally deleted my previous repository #235 \r\n\r\n### From old PR\r\n- [x] Chapter 1\r\n- [x] Chapter 2\r\n- [x] Chapter 3\r\n- [x] Chapter 4\r\n- [x] Chapter 5\r\n- [ ] Chapter 6\r\n- [ ] Chapter 7\r\n- [ ] Chapter 8\r\n- [ ] Chapter 9\r\n- [ ] Chapter 10\r\n- [x] Write tests for all examples or make all examples runnable?\r\n- [ ] Update FAQ\r\n- [ ] Update images (app example)\r\n- [ ] Update paths to exercises\r\n\r\nI think we should update the text and provide a better OOP example. The code is still very verbose. We could also keep the current mutating code and just call it imperative instead of OOP.\r\n\r\n```js\r\nclass Flock {\r\n  constructor(n) {\r\n    this.seagulls = n;\r\n  }\r\n  \r\n  conjoin({seagulls}) {\r\n    return new Flock(this.seagulls + seagulls);\r\n  }\r\n\r\n  breed({seagulls}) {\r\n    return new Flock(this.seagulls * seagulls);\r\n  }\r\n}\r\n```\r\n\r\nBased on:  https://gist.github.com/eshacker/be153d852b9b995f42dd"},"comment":{"url":"https://api.github.com/repos/MostlyAdequate/mostly-adequate-guide/issues/comments/227142767","html_url":"https://github.com/MostlyAdequate/mostly-adequate-guide/pull/273#issuecomment-227142767","issue_url":"https://api.github.com/repos/MostlyAdequate/mostly-adequate-guide/issues/273","id":227142767,"user":{"login":"christiantakle","id":684866,"avatar_url":"https://avatars.githubusercontent.com/u/684866?v=3","gravatar_id":"","url":"https://api.github.com/users/christiantakle","html_url":"https://github.com/christiantakle","followers_url":"https://api.github.com/users/christiantakle/followers","following_url":"https://api.github.com/users/christiantakle/following{/other_user}","gists_url":"https://api.github.com/users/christiantakle/gists{/gist_id}","starred_url":"https://api.github.com/users/christiantakle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/christiantakle/subscriptions","organizations_url":"https://api.github.com/users/christiantakle/orgs","repos_url":"https://api.github.com/users/christiantakle/repos","events_url":"https://api.github.com/users/christiantakle/events{/privacy}","received_events_url":"https://api.github.com/users/christiantakle/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T13:32:48Z","updated_at":"2016-06-20T13:32:48Z","body":"@gyzerok\r\n\r\nThere were issues when I updated the chapters which is why I didn't check the off at the time.\r\n\r\nLet me update the entire thing later today. To better reflect the current status of this PR"}}
{"actor":{"display_login":"christiantakle"}}