{"action":"closed","number":643,"pull_request":{"url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/643","id":62671335,"html_url":"https://github.com/Financial-Times/polyfill-service/pull/643","diff_url":"https://github.com/Financial-Times/polyfill-service/pull/643.diff","patch_url":"https://github.com/Financial-Times/polyfill-service/pull/643.patch","issue_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/643","number":643,"state":"closed","locked":false,"title":"Update syntax to ES6","user":{"login":"triblondon","id":1735391,"avatar_url":"https://avatars.githubusercontent.com/u/1735391?v=3","gravatar_id":"","url":"https://api.github.com/users/triblondon","html_url":"https://github.com/triblondon","followers_url":"https://api.github.com/users/triblondon/followers","following_url":"https://api.github.com/users/triblondon/following{/other_user}","gists_url":"https://api.github.com/users/triblondon/gists{/gist_id}","starred_url":"https://api.github.com/users/triblondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triblondon/subscriptions","organizations_url":"https://api.github.com/users/triblondon/orgs","repos_url":"https://api.github.com/users/triblondon/repos","events_url":"https://api.github.com/users/triblondon/events{/privacy}","received_events_url":"https://api.github.com/users/triblondon/received_events","type":"User","site_admin":false},"body":"This PR updates the syntax used across the polyfill service to introduce arrow functions, replace `var` with `const` or `let`, replace the old jshintrc with an eslintrc, and some minor tidying up that resulted from getting the code to pass linting.\r\n\r\nIt would be good to merge this quickly as it is going to make subsequent PRs hard to merge cleanly.","created_at":"2016-03-13T13:46:32Z","updated_at":"2016-03-15T14:50:07Z","closed_at":"2016-03-15T14:50:07Z","merged_at":"2016-03-15T14:50:07Z","merge_commit_sha":"94b5fb9a60c2eb206373224b67b792c22ee7c71d","assignee":{"login":"rowanmanning","id":138944,"avatar_url":"https://avatars.githubusercontent.com/u/138944?v=3","gravatar_id":"","url":"https://api.github.com/users/rowanmanning","html_url":"https://github.com/rowanmanning","followers_url":"https://api.github.com/users/rowanmanning/followers","following_url":"https://api.github.com/users/rowanmanning/following{/other_user}","gists_url":"https://api.github.com/users/rowanmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/rowanmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowanmanning/subscriptions","organizations_url":"https://api.github.com/users/rowanmanning/orgs","repos_url":"https://api.github.com/users/rowanmanning/repos","events_url":"https://api.github.com/users/rowanmanning/events{/privacy}","received_events_url":"https://api.github.com/users/rowanmanning/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/Financial-Times/polyfill-service/milestones/15","html_url":"https://github.com/Financial-Times/polyfill-service/milestones/3.4","labels_url":"https://api.github.com/repos/Financial-Times/polyfill-service/milestones/15/labels","id":1611368,"number":15,"title":"3.4","description":null,"creator":{"login":"triblondon","id":1735391,"avatar_url":"https://avatars.githubusercontent.com/u/1735391?v=3","gravatar_id":"","url":"https://api.github.com/users/triblondon","html_url":"https://github.com/triblondon","followers_url":"https://api.github.com/users/triblondon/followers","following_url":"https://api.github.com/users/triblondon/following{/other_user}","gists_url":"https://api.github.com/users/triblondon/gists{/gist_id}","starred_url":"https://api.github.com/users/triblondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triblondon/subscriptions","organizations_url":"https://api.github.com/users/triblondon/orgs","repos_url":"https://api.github.com/users/triblondon/repos","events_url":"https://api.github.com/users/triblondon/events{/privacy}","received_events_url":"https://api.github.com/users/triblondon/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"open","created_at":"2016-02-29T10:15:50Z","updated_at":"2016-03-15T14:50:07Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/643/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/643/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/643/comments","statuses_url":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/379d2fcebba3131d5ee5eafbe04f543efe9467fe","head":{"label":"Financial-Times:es6","ref":"es6","sha":"379d2fcebba3131d5ee5eafbe04f543efe9467fe","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":21244924,"name":"polyfill-service","full_name":"Financial-Times/polyfill-service","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/polyfill-service","description":"Automatic polyfill service","fork":false,"url":"https://api.github.com/repos/Financial-Times/polyfill-service","forks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/forks","keys_url":"https://api.github.com/repos/Financial-Times/polyfill-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/polyfill-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/polyfill-service/teams","hooks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/events","assignees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/polyfill-service/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/tags","blobs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/polyfill-service/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscription","commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/polyfill-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/polyfill-service/merges","archive_url":"https://api.github.com/repos/Financial-Times/polyfill-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/polyfill-service/downloads","issues_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/polyfill-service/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/polyfill-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/polyfill-service/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/polyfill-service/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/deployments","created_at":"2014-06-26T15:09:49Z","updated_at":"2016-03-15T12:53:02Z","pushed_at":"2016-03-15T14:50:07Z","git_url":"git://github.com/Financial-Times/polyfill-service.git","ssh_url":"git@github.com:Financial-Times/polyfill-service.git","clone_url":"https://github.com/Financial-Times/polyfill-service.git","svn_url":"https://github.com/Financial-Times/polyfill-service","homepage":"https://cdn.polyfill.io","size":6611,"stargazers_count":940,"watchers_count":940,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":65,"forks":149,"open_issues":65,"watchers":940,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"cb3a5359facbd32af63b69a7b3aa2ef738689f24","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":21244924,"name":"polyfill-service","full_name":"Financial-Times/polyfill-service","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/polyfill-service","description":"Automatic polyfill service","fork":false,"url":"https://api.github.com/repos/Financial-Times/polyfill-service","forks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/forks","keys_url":"https://api.github.com/repos/Financial-Times/polyfill-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/polyfill-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/polyfill-service/teams","hooks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/events","assignees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/polyfill-service/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/tags","blobs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/polyfill-service/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscription","commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/polyfill-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/polyfill-service/merges","archive_url":"https://api.github.com/repos/Financial-Times/polyfill-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/polyfill-service/downloads","issues_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/polyfill-service/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/polyfill-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/polyfill-service/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/polyfill-service/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/deployments","created_at":"2014-06-26T15:09:49Z","updated_at":"2016-03-15T12:53:02Z","pushed_at":"2016-03-15T14:50:07Z","git_url":"git://github.com/Financial-Times/polyfill-service.git","ssh_url":"git@github.com:Financial-Times/polyfill-service.git","clone_url":"https://github.com/Financial-Times/polyfill-service.git","svn_url":"https://github.com/Financial-Times/polyfill-service","homepage":"https://cdn.polyfill.io","size":6611,"stargazers_count":940,"watchers_count":940,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":65,"forks":149,"open_issues":65,"watchers":940,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/643"},"html":{"href":"https://github.com/Financial-Times/polyfill-service/pull/643"},"issue":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/643"},"comments":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/643/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/643/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/643/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/379d2fcebba3131d5ee5eafbe04f543efe9467fe"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"rowanmanning","id":138944,"avatar_url":"https://avatars.githubusercontent.com/u/138944?v=3","gravatar_id":"","url":"https://api.github.com/users/rowanmanning","html_url":"https://github.com/rowanmanning","followers_url":"https://api.github.com/users/rowanmanning/followers","following_url":"https://api.github.com/users/rowanmanning/following{/other_user}","gists_url":"https://api.github.com/users/rowanmanning/gists{/gist_id}","starred_url":"https://api.github.com/users/rowanmanning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowanmanning/subscriptions","organizations_url":"https://api.github.com/users/rowanmanning/orgs","repos_url":"https://api.github.com/users/rowanmanning/repos","events_url":"https://api.github.com/users/rowanmanning/events{/privacy}","received_events_url":"https://api.github.com/users/rowanmanning/received_events","type":"User","site_admin":false},"comments":3,"review_comments":13,"commits":10,"additions":798,"deletions":5220,"changed_files":18}}