{"action":"created","issue":{"url":"https://api.github.com/repos/zulip/zulip/issues/9077","repository_url":"https://api.github.com/repos/zulip/zulip","labels_url":"https://api.github.com/repos/zulip/zulip/issues/9077/labels{/name}","comments_url":"https://api.github.com/repos/zulip/zulip/issues/9077/comments","events_url":"https://api.github.com/repos/zulip/zulip/issues/9077/events","html_url":"https://github.com/zulip/zulip/pull/9077","id":313910653,"number":9077,"title":"Update activity.js to use ES6","user":{"login":"cPhost","id":23620441,"avatar_url":"https://avatars2.githubusercontent.com/u/23620441?v=4","gravatar_id":"","url":"https://api.github.com/users/cPhost","html_url":"https://github.com/cPhost","followers_url":"https://api.github.com/users/cPhost/followers","following_url":"https://api.github.com/users/cPhost/following{/other_user}","gists_url":"https://api.github.com/users/cPhost/gists{/gist_id}","starred_url":"https://api.github.com/users/cPhost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cPhost/subscriptions","organizations_url":"https://api.github.com/users/cPhost/orgs","repos_url":"https://api.github.com/users/cPhost/repos","events_url":"https://api.github.com/users/cPhost/events{/privacy}","received_events_url":"https://api.github.com/users/cPhost/received_events","type":"User","site_admin":false},"labels":[{"id":804160549,"url":"https://api.github.com/repos/zulip/zulip/labels/size:%20XL","name":"size: XL","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-12T22:34:38Z","updated_at":"2018-04-13T15:43:35Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/zulip/zulip/pulls/9077","html_url":"https://github.com/zulip/zulip/pull/9077","diff_url":"https://github.com/zulip/zulip/pull/9077.diff","patch_url":"https://github.com/zulip/zulip/pull/9077.patch"},"body":"This just tries to use ES6 syntax in `activity.js`:\r\n   * uses `const` for non-changing variables - constants.\r\n   *  Use arrow functions `() => {}` instead of `function () {}`\r\n   *  uses arrow functions for function that return a value in first line i.e. `() => true` instead of `function () { return true; }`\r\n\r\n**Testing Plan:** <!-- How have you tested? --> Lint and Node test passes.\r\n\r\n(CircleCI is not working for me for some reason it just fails on cloning step)"},"comment":{"url":"https://api.github.com/repos/zulip/zulip/issues/comments/381176683","html_url":"https://github.com/zulip/zulip/pull/9077#issuecomment-381176683","issue_url":"https://api.github.com/repos/zulip/zulip/issues/9077","id":381176683,"user":{"login":"timabbott","id":2746074,"avatar_url":"https://avatars0.githubusercontent.com/u/2746074?v=4","gravatar_id":"","url":"https://api.github.com/users/timabbott","html_url":"https://github.com/timabbott","followers_url":"https://api.github.com/users/timabbott/followers","following_url":"https://api.github.com/users/timabbott/following{/other_user}","gists_url":"https://api.github.com/users/timabbott/gists{/gist_id}","starred_url":"https://api.github.com/users/timabbott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timabbott/subscriptions","organizations_url":"https://api.github.com/users/timabbott/orgs","repos_url":"https://api.github.com/users/timabbott/repos","events_url":"https://api.github.com/users/timabbott/events{/privacy}","received_events_url":"https://api.github.com/users/timabbott/received_events","type":"User","site_admin":false},"created_at":"2018-04-13T15:43:35Z","updated_at":"2018-04-13T15:43:35Z","author_association":"OWNER","body":"@cPhost I would recommend doing a rebase and re-pushing to get CI to run again.  Those errors are clearly an operational issue on CircleCI's side."}}
{"actor":{"display_login":"timabbott"}}