{"action":"closed","number":16151,"pull_request":{"url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16151","id":77903266,"html_url":"https://github.com/cocos2d/cocos2d-x/pull/16151","diff_url":"https://github.com/cocos2d/cocos2d-x/pull/16151.diff","patch_url":"https://github.com/cocos2d/cocos2d-x/pull/16151.patch","issue_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16151","number":16151,"state":"closed","locked":false,"title":"Fix spelling for `getPolygonCenter` function","user":{"login":"mogemimi","id":4461792,"avatar_url":"https://avatars.githubusercontent.com/u/4461792?v=3","gravatar_id":"","url":"https://api.github.com/users/mogemimi","html_url":"https://github.com/mogemimi","followers_url":"https://api.github.com/users/mogemimi/followers","following_url":"https://api.github.com/users/mogemimi/following{/other_user}","gists_url":"https://api.github.com/users/mogemimi/gists{/gist_id}","starred_url":"https://api.github.com/users/mogemimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogemimi/subscriptions","organizations_url":"https://api.github.com/users/mogemimi/orgs","repos_url":"https://api.github.com/users/mogemimi/repos","events_url":"https://api.github.com/users/mogemimi/events{/privacy}","received_events_url":"https://api.github.com/users/mogemimi/received_events","type":"User","site_admin":false},"body":"This PR deprecates the misspelled `getPolyonCenter` function in favour of correctly spelled `getPolygonCenter` in PhysicsShape class. It does the following:\r\n\r\n- Replaces the `getPolyonCenter` declaration and definition with `getPolygonCenter`\r\n- Adds deprecated `getPolyonCenter` function to keep backward compatibility\r\n- Lua binding is also the same as C++ code\r\n\r\nThanks.","created_at":"2016-07-19T00:58:54Z","updated_at":"2016-07-20T01:56:51Z","closed_at":"2016-07-20T01:56:51Z","merged_at":"2016-07-20T01:56:51Z","merge_commit_sha":"66e29ba82d08d9c43f51d69ba401be953b5ffbe6","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16151/commits","review_comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16151/comments","review_comment_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16151/comments","statuses_url":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/5bd2d7407828b611bd8edb078e6024821a0a0885","head":{"label":"mogemimi:fix-function-spelling","ref":"fix-function-spelling","sha":"5bd2d7407828b611bd8edb078e6024821a0a0885","user":{"login":"mogemimi","id":4461792,"avatar_url":"https://avatars.githubusercontent.com/u/4461792?v=3","gravatar_id":"","url":"https://api.github.com/users/mogemimi","html_url":"https://github.com/mogemimi","followers_url":"https://api.github.com/users/mogemimi/followers","following_url":"https://api.github.com/users/mogemimi/following{/other_user}","gists_url":"https://api.github.com/users/mogemimi/gists{/gist_id}","starred_url":"https://api.github.com/users/mogemimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogemimi/subscriptions","organizations_url":"https://api.github.com/users/mogemimi/orgs","repos_url":"https://api.github.com/users/mogemimi/repos","events_url":"https://api.github.com/users/mogemimi/events{/privacy}","received_events_url":"https://api.github.com/users/mogemimi/received_events","type":"User","site_admin":false},"repo":{"id":44528954,"name":"cocos2d-x","full_name":"mogemimi/cocos2d-x","owner":{"login":"mogemimi","id":4461792,"avatar_url":"https://avatars.githubusercontent.com/u/4461792?v=3","gravatar_id":"","url":"https://api.github.com/users/mogemimi","html_url":"https://github.com/mogemimi","followers_url":"https://api.github.com/users/mogemimi/followers","following_url":"https://api.github.com/users/mogemimi/following{/other_user}","gists_url":"https://api.github.com/users/mogemimi/gists{/gist_id}","starred_url":"https://api.github.com/users/mogemimi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mogemimi/subscriptions","organizations_url":"https://api.github.com/users/mogemimi/orgs","repos_url":"https://api.github.com/users/mogemimi/repos","events_url":"https://api.github.com/users/mogemimi/events{/privacy}","received_events_url":"https://api.github.com/users/mogemimi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mogemimi/cocos2d-x","description":"cocos2d-x for C++","fork":true,"url":"https://api.github.com/repos/mogemimi/cocos2d-x","forks_url":"https://api.github.com/repos/mogemimi/cocos2d-x/forks","keys_url":"https://api.github.com/repos/mogemimi/cocos2d-x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mogemimi/cocos2d-x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mogemimi/cocos2d-x/teams","hooks_url":"https://api.github.com/repos/mogemimi/cocos2d-x/hooks","issue_events_url":"https://api.github.com/repos/mogemimi/cocos2d-x/issues/events{/number}","events_url":"https://api.github.com/repos/mogemimi/cocos2d-x/events","assignees_url":"https://api.github.com/repos/mogemimi/cocos2d-x/assignees{/user}","branches_url":"https://api.github.com/repos/mogemimi/cocos2d-x/branches{/branch}","tags_url":"https://api.github.com/repos/mogemimi/cocos2d-x/tags","blobs_url":"https://api.github.com/repos/mogemimi/cocos2d-x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mogemimi/cocos2d-x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mogemimi/cocos2d-x/git/refs{/sha}","trees_url":"https://api.github.com/repos/mogemimi/cocos2d-x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mogemimi/cocos2d-x/statuses/{sha}","languages_url":"https://api.github.com/repos/mogemimi/cocos2d-x/languages","stargazers_url":"https://api.github.com/repos/mogemimi/cocos2d-x/stargazers","contributors_url":"https://api.github.com/repos/mogemimi/cocos2d-x/contributors","subscribers_url":"https://api.github.com/repos/mogemimi/cocos2d-x/subscribers","subscription_url":"https://api.github.com/repos/mogemimi/cocos2d-x/subscription","commits_url":"https://api.github.com/repos/mogemimi/cocos2d-x/commits{/sha}","git_commits_url":"https://api.github.com/repos/mogemimi/cocos2d-x/git/commits{/sha}","comments_url":"https://api.github.com/repos/mogemimi/cocos2d-x/comments{/number}","issue_comment_url":"https://api.github.com/repos/mogemimi/cocos2d-x/issues/comments{/number}","contents_url":"https://api.github.com/repos/mogemimi/cocos2d-x/contents/{+path}","compare_url":"https://api.github.com/repos/mogemimi/cocos2d-x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mogemimi/cocos2d-x/merges","archive_url":"https://api.github.com/repos/mogemimi/cocos2d-x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mogemimi/cocos2d-x/downloads","issues_url":"https://api.github.com/repos/mogemimi/cocos2d-x/issues{/number}","pulls_url":"https://api.github.com/repos/mogemimi/cocos2d-x/pulls{/number}","milestones_url":"https://api.github.com/repos/mogemimi/cocos2d-x/milestones{/number}","notifications_url":"https://api.github.com/repos/mogemimi/cocos2d-x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mogemimi/cocos2d-x/labels{/name}","releases_url":"https://api.github.com/repos/mogemimi/cocos2d-x/releases{/id}","deployments_url":"https://api.github.com/repos/mogemimi/cocos2d-x/deployments","created_at":"2015-10-19T11:04:24Z","updated_at":"2016-05-28T12:46:52Z","pushed_at":"2016-07-18T23:25:38Z","git_url":"git://github.com/mogemimi/cocos2d-x.git","ssh_url":"git@github.com:mogemimi/cocos2d-x.git","clone_url":"https://github.com/mogemimi/cocos2d-x.git","svn_url":"https://github.com/mogemimi/cocos2d-x","homepage":"http://www.cocos2d-x.org","size":886533,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"v3"}},"base":{"label":"cocos2d:v3","ref":"v3","sha":"b5de8ba0ea83f5fb84aa04f4cc36d2b5a2d4236f","user":{"login":"cocos2d","id":234324,"avatar_url":"https://avatars.githubusercontent.com/u/234324?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos2d","html_url":"https://github.com/cocos2d","followers_url":"https://api.github.com/users/cocos2d/followers","following_url":"https://api.github.com/users/cocos2d/following{/other_user}","gists_url":"https://api.github.com/users/cocos2d/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos2d/subscriptions","organizations_url":"https://api.github.com/users/cocos2d/orgs","repos_url":"https://api.github.com/users/cocos2d/repos","events_url":"https://api.github.com/users/cocos2d/events{/privacy}","received_events_url":"https://api.github.com/users/cocos2d/received_events","type":"Organization","site_admin":false},"repo":{"id":1093228,"name":"cocos2d-x","full_name":"cocos2d/cocos2d-x","owner":{"login":"cocos2d","id":234324,"avatar_url":"https://avatars.githubusercontent.com/u/234324?v=3","gravatar_id":"","url":"https://api.github.com/users/cocos2d","html_url":"https://github.com/cocos2d","followers_url":"https://api.github.com/users/cocos2d/followers","following_url":"https://api.github.com/users/cocos2d/following{/other_user}","gists_url":"https://api.github.com/users/cocos2d/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos2d/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos2d/subscriptions","organizations_url":"https://api.github.com/users/cocos2d/orgs","repos_url":"https://api.github.com/users/cocos2d/repos","events_url":"https://api.github.com/users/cocos2d/events{/privacy}","received_events_url":"https://api.github.com/users/cocos2d/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocos2d/cocos2d-x","description":"cocos2d-x for C++","fork":false,"url":"https://api.github.com/repos/cocos2d/cocos2d-x","forks_url":"https://api.github.com/repos/cocos2d/cocos2d-x/forks","keys_url":"https://api.github.com/repos/cocos2d/cocos2d-x/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocos2d/cocos2d-x/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocos2d/cocos2d-x/teams","hooks_url":"https://api.github.com/repos/cocos2d/cocos2d-x/hooks","issue_events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/events{/number}","events_url":"https://api.github.com/repos/cocos2d/cocos2d-x/events","assignees_url":"https://api.github.com/repos/cocos2d/cocos2d-x/assignees{/user}","branches_url":"https://api.github.com/repos/cocos2d/cocos2d-x/branches{/branch}","tags_url":"https://api.github.com/repos/cocos2d/cocos2d-x/tags","blobs_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/{sha}","languages_url":"https://api.github.com/repos/cocos2d/cocos2d-x/languages","stargazers_url":"https://api.github.com/repos/cocos2d/cocos2d-x/stargazers","contributors_url":"https://api.github.com/repos/cocos2d/cocos2d-x/contributors","subscribers_url":"https://api.github.com/repos/cocos2d/cocos2d-x/subscribers","subscription_url":"https://api.github.com/repos/cocos2d/cocos2d-x/subscription","commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocos2d/cocos2d-x/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocos2d/cocos2d-x/contents/{+path}","compare_url":"https://api.github.com/repos/cocos2d/cocos2d-x/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocos2d/cocos2d-x/merges","archive_url":"https://api.github.com/repos/cocos2d/cocos2d-x/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocos2d/cocos2d-x/downloads","issues_url":"https://api.github.com/repos/cocos2d/cocos2d-x/issues{/number}","pulls_url":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls{/number}","milestones_url":"https://api.github.com/repos/cocos2d/cocos2d-x/milestones{/number}","notifications_url":"https://api.github.com/repos/cocos2d/cocos2d-x/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocos2d/cocos2d-x/labels{/name}","releases_url":"https://api.github.com/repos/cocos2d/cocos2d-x/releases{/id}","deployments_url":"https://api.github.com/repos/cocos2d/cocos2d-x/deployments","created_at":"2010-11-18T23:17:00Z","updated_at":"2016-07-20T01:08:19Z","pushed_at":"2016-07-20T01:56:51Z","git_url":"git://github.com/cocos2d/cocos2d-x.git","ssh_url":"git@github.com:cocos2d/cocos2d-x.git","clone_url":"https://github.com/cocos2d/cocos2d-x.git","svn_url":"https://github.com/cocos2d/cocos2d-x","homepage":"http://www.cocos2d-x.org","size":1521146,"stargazers_count":8397,"watchers_count":8397,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5542,"mirror_url":null,"open_issues_count":910,"forks":5542,"open_issues":910,"watchers":8397,"default_branch":"v3"}},"_links":{"self":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16151"},"html":{"href":"https://github.com/cocos2d/cocos2d-x/pull/16151"},"issue":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16151"},"comments":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/issues/16151/comments"},"review_comments":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16151/comments"},"review_comment":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/pulls/16151/commits"},"statuses":{"href":"https://api.github.com/repos/cocos2d/cocos2d-x/statuses/5bd2d7407828b611bd8edb078e6024821a0a0885"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"minggo","id":488203,"avatar_url":"https://avatars.githubusercontent.com/u/488203?v=3","gravatar_id":"","url":"https://api.github.com/users/minggo","html_url":"https://github.com/minggo","followers_url":"https://api.github.com/users/minggo/followers","following_url":"https://api.github.com/users/minggo/following{/other_user}","gists_url":"https://api.github.com/users/minggo/gists{/gist_id}","starred_url":"https://api.github.com/users/minggo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minggo/subscriptions","organizations_url":"https://api.github.com/users/minggo/orgs","repos_url":"https://api.github.com/users/minggo/repos","events_url":"https://api.github.com/users/minggo/events{/privacy}","received_events_url":"https://api.github.com/users/minggo/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":25,"deletions":14,"changed_files":6}}
{"actor":{"display_login":"minggo"}}