{"action":"closed","number":57,"pull_request":{"url":"https://api.github.com/repos/cst/cst/pulls/57","id":45933318,"html_url":"https://github.com/cst/cst/pull/57","diff_url":"https://github.com/cst/cst/pull/57.diff","patch_url":"https://github.com/cst/cst/pull/57.patch","issue_url":"https://api.github.com/repos/cst/cst/issues/57","number":57,"state":"closed","locked":false,"title":"Trailing Commas in function parameter lists, and CallExpression","user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"body":"Fixes #55\r\n\r\nJust a copy of https://github.com/cst/cst/blob/1ea3f1fccb197a26afa295d79993bcdf1053a1a5/src/elements/types/ObjectPattern.js#L12-L25\r\n\r\n```js\r\n        while (!children.isToken('Punctuator', '}')) {\r\n            if (children.isToken('Punctuator', ',')) {\r\n                children.moveNext();\r\n                children.skipNonCode();\r\n                children.assertToken('Punctuator', '}');\r\n            } else {\r\n                properties.push(children.passNode('Property')); // push to array here\r\n                children.skipNonCode();\r\n                if (children.isToken('Punctuator', ',')) {\r\n                    children.moveNext();\r\n                    children.skipNonCode();\r\n                }\r\n            }\r\n        }\r\n```","created_at":"2015-09-24T18:37:05Z","updated_at":"2015-09-24T18:43:04Z","closed_at":"2015-09-24T18:43:04Z","merged_at":"2015-09-24T18:43:04Z","merge_commit_sha":"74f653b28932831a73ea4673d6f5a817be7f5bda","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cst/cst/pulls/57/commits","review_comments_url":"https://api.github.com/repos/cst/cst/pulls/57/comments","review_comment_url":"https://api.github.com/repos/cst/cst/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cst/cst/issues/57/comments","statuses_url":"https://api.github.com/repos/cst/cst/statuses/808cf9467d7c3e5faf9a1626f4f2bf0d615734f6","head":{"label":"hzoo:fn-trailing-comma","ref":"fn-trailing-comma","sha":"808cf9467d7c3e5faf9a1626f4f2bf0d615734f6","user":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"repo":{"id":37735807,"name":"cst","full_name":"hzoo/cst","owner":{"login":"hzoo","id":588473,"avatar_url":"https://avatars.githubusercontent.com/u/588473?v=3","gravatar_id":"","url":"https://api.github.com/users/hzoo","html_url":"https://github.com/hzoo","followers_url":"https://api.github.com/users/hzoo/followers","following_url":"https://api.github.com/users/hzoo/following{/other_user}","gists_url":"https://api.github.com/users/hzoo/gists{/gist_id}","starred_url":"https://api.github.com/users/hzoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hzoo/subscriptions","organizations_url":"https://api.github.com/users/hzoo/orgs","repos_url":"https://api.github.com/users/hzoo/repos","events_url":"https://api.github.com/users/hzoo/events{/privacy}","received_events_url":"https://api.github.com/users/hzoo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hzoo/cst","description":"","fork":true,"url":"https://api.github.com/repos/hzoo/cst","forks_url":"https://api.github.com/repos/hzoo/cst/forks","keys_url":"https://api.github.com/repos/hzoo/cst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hzoo/cst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hzoo/cst/teams","hooks_url":"https://api.github.com/repos/hzoo/cst/hooks","issue_events_url":"https://api.github.com/repos/hzoo/cst/issues/events{/number}","events_url":"https://api.github.com/repos/hzoo/cst/events","assignees_url":"https://api.github.com/repos/hzoo/cst/assignees{/user}","branches_url":"https://api.github.com/repos/hzoo/cst/branches{/branch}","tags_url":"https://api.github.com/repos/hzoo/cst/tags","blobs_url":"https://api.github.com/repos/hzoo/cst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hzoo/cst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hzoo/cst/git/refs{/sha}","trees_url":"https://api.github.com/repos/hzoo/cst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hzoo/cst/statuses/{sha}","languages_url":"https://api.github.com/repos/hzoo/cst/languages","stargazers_url":"https://api.github.com/repos/hzoo/cst/stargazers","contributors_url":"https://api.github.com/repos/hzoo/cst/contributors","subscribers_url":"https://api.github.com/repos/hzoo/cst/subscribers","subscription_url":"https://api.github.com/repos/hzoo/cst/subscription","commits_url":"https://api.github.com/repos/hzoo/cst/commits{/sha}","git_commits_url":"https://api.github.com/repos/hzoo/cst/git/commits{/sha}","comments_url":"https://api.github.com/repos/hzoo/cst/comments{/number}","issue_comment_url":"https://api.github.com/repos/hzoo/cst/issues/comments{/number}","contents_url":"https://api.github.com/repos/hzoo/cst/contents/{+path}","compare_url":"https://api.github.com/repos/hzoo/cst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hzoo/cst/merges","archive_url":"https://api.github.com/repos/hzoo/cst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hzoo/cst/downloads","issues_url":"https://api.github.com/repos/hzoo/cst/issues{/number}","pulls_url":"https://api.github.com/repos/hzoo/cst/pulls{/number}","milestones_url":"https://api.github.com/repos/hzoo/cst/milestones{/number}","notifications_url":"https://api.github.com/repos/hzoo/cst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hzoo/cst/labels{/name}","releases_url":"https://api.github.com/repos/hzoo/cst/releases{/id}","created_at":"2015-06-19T17:22:19Z","updated_at":"2015-06-19T17:22:19Z","pushed_at":"2015-09-24T18:37:04Z","git_url":"git://github.com/hzoo/cst.git","ssh_url":"git@github.com:hzoo/cst.git","clone_url":"https://github.com/hzoo/cst.git","svn_url":"https://github.com/hzoo/cst","homepage":null,"size":749,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cst:master","ref":"master","sha":"1ea3f1fccb197a26afa295d79993bcdf1053a1a5","user":{"login":"cst","id":14264161,"avatar_url":"https://avatars.githubusercontent.com/u/14264161?v=3","gravatar_id":"","url":"https://api.github.com/users/cst","html_url":"https://github.com/cst","followers_url":"https://api.github.com/users/cst/followers","following_url":"https://api.github.com/users/cst/following{/other_user}","gists_url":"https://api.github.com/users/cst/gists{/gist_id}","starred_url":"https://api.github.com/users/cst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cst/subscriptions","organizations_url":"https://api.github.com/users/cst/orgs","repos_url":"https://api.github.com/users/cst/repos","events_url":"https://api.github.com/users/cst/events{/privacy}","received_events_url":"https://api.github.com/users/cst/received_events","type":"Organization","site_admin":false},"repo":{"id":37276358,"name":"cst","full_name":"cst/cst","owner":{"login":"cst","id":14264161,"avatar_url":"https://avatars.githubusercontent.com/u/14264161?v=3","gravatar_id":"","url":"https://api.github.com/users/cst","html_url":"https://github.com/cst","followers_url":"https://api.github.com/users/cst/followers","following_url":"https://api.github.com/users/cst/following{/other_user}","gists_url":"https://api.github.com/users/cst/gists{/gist_id}","starred_url":"https://api.github.com/users/cst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cst/subscriptions","organizations_url":"https://api.github.com/users/cst/orgs","repos_url":"https://api.github.com/users/cst/repos","events_url":"https://api.github.com/users/cst/events{/privacy}","received_events_url":"https://api.github.com/users/cst/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cst/cst","description":"JavaScript Concrete Syntax Tree","fork":false,"url":"https://api.github.com/repos/cst/cst","forks_url":"https://api.github.com/repos/cst/cst/forks","keys_url":"https://api.github.com/repos/cst/cst/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cst/cst/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cst/cst/teams","hooks_url":"https://api.github.com/repos/cst/cst/hooks","issue_events_url":"https://api.github.com/repos/cst/cst/issues/events{/number}","events_url":"https://api.github.com/repos/cst/cst/events","assignees_url":"https://api.github.com/repos/cst/cst/assignees{/user}","branches_url":"https://api.github.com/repos/cst/cst/branches{/branch}","tags_url":"https://api.github.com/repos/cst/cst/tags","blobs_url":"https://api.github.com/repos/cst/cst/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cst/cst/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cst/cst/git/refs{/sha}","trees_url":"https://api.github.com/repos/cst/cst/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cst/cst/statuses/{sha}","languages_url":"https://api.github.com/repos/cst/cst/languages","stargazers_url":"https://api.github.com/repos/cst/cst/stargazers","contributors_url":"https://api.github.com/repos/cst/cst/contributors","subscribers_url":"https://api.github.com/repos/cst/cst/subscribers","subscription_url":"https://api.github.com/repos/cst/cst/subscription","commits_url":"https://api.github.com/repos/cst/cst/commits{/sha}","git_commits_url":"https://api.github.com/repos/cst/cst/git/commits{/sha}","comments_url":"https://api.github.com/repos/cst/cst/comments{/number}","issue_comment_url":"https://api.github.com/repos/cst/cst/issues/comments{/number}","contents_url":"https://api.github.com/repos/cst/cst/contents/{+path}","compare_url":"https://api.github.com/repos/cst/cst/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cst/cst/merges","archive_url":"https://api.github.com/repos/cst/cst/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cst/cst/downloads","issues_url":"https://api.github.com/repos/cst/cst/issues{/number}","pulls_url":"https://api.github.com/repos/cst/cst/pulls{/number}","milestones_url":"https://api.github.com/repos/cst/cst/milestones{/number}","notifications_url":"https://api.github.com/repos/cst/cst/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cst/cst/labels{/name}","releases_url":"https://api.github.com/repos/cst/cst/releases{/id}","created_at":"2015-06-11T17:44:47Z","updated_at":"2015-09-17T13:32:40Z","pushed_at":"2015-09-24T18:43:04Z","git_url":"git://github.com/cst/cst.git","ssh_url":"git@github.com:cst/cst.git","clone_url":"https://github.com/cst/cst.git","svn_url":"https://github.com/cst/cst","homepage":"","size":1164,"stargazers_count":56,"watchers_count":56,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":24,"forks":3,"open_issues":24,"watchers":56,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cst/cst/pulls/57"},"html":{"href":"https://github.com/cst/cst/pull/57"},"issue":{"href":"https://api.github.com/repos/cst/cst/issues/57"},"comments":{"href":"https://api.github.com/repos/cst/cst/issues/57/comments"},"review_comments":{"href":"https://api.github.com/repos/cst/cst/pulls/57/comments"},"review_comment":{"href":"https://api.github.com/repos/cst/cst/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cst/cst/pulls/57/commits"},"statuses":{"href":"https://api.github.com/repos/cst/cst/statuses/808cf9467d7c3e5faf9a1626f4f2bf0d615734f6"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"mdevils","id":176898,"avatar_url":"https://avatars.githubusercontent.com/u/176898?v=3","gravatar_id":"","url":"https://api.github.com/users/mdevils","html_url":"https://github.com/mdevils","followers_url":"https://api.github.com/users/mdevils/followers","following_url":"https://api.github.com/users/mdevils/following{/other_user}","gists_url":"https://api.github.com/users/mdevils/gists{/gist_id}","starred_url":"https://api.github.com/users/mdevils/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdevils/subscriptions","organizations_url":"https://api.github.com/users/mdevils/orgs","repos_url":"https://api.github.com/users/mdevils/repos","events_url":"https://api.github.com/users/mdevils/events{/privacy}","received_events_url":"https://api.github.com/users/mdevils/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":59,"deletions":10,"changed_files":6}}