{"action":"created","comment":{"url":"https://api.github.com/repos/cocos-creator/engine/pulls/comments/172726361","pull_request_review_id":101790361,"id":172726361,"diff_hunk":"@@ -488,9 +488,20 @@ var Widget = cc.Class({\n          * @default false\n          */\n         isAlignOnce: {\n-            default: true,\n+            get: function () {\n+                return this._isAlignOnce;","path":"cocos2d/core/components/CCWidget.js","position":6,"original_position":6,"commit_id":"0ef6846a048057e04e2ecfa51f2f64a3ea9154ad","original_commit_id":"0ef6846a048057e04e2ecfa51f2f64a3ea9154ad","user":{"login":"jareguo","id":1503156,"avatar_url":"https://avatars3.githubusercontent.com/u/1503156?v=4","gravatar_id":"","url":"https://api.github.com/users/jareguo","html_url":"https://github.com/jareguo","followers_url":"https://api.github.com/users/jareguo/followers","following_url":"https://api.github.com/users/jareguo/following{/other_user}","gists_url":"https://api.github.com/users/jareguo/gists{/gist_id}","starred_url":"https://api.github.com/users/jareguo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jareguo/subscriptions","organizations_url":"https://api.github.com/users/jareguo/orgs","repos_url":"https://api.github.com/users/jareguo/repos","events_url":"https://api.github.com/users/jareguo/events{/privacy}","received_events_url":"https://api.github.com/users/jareguo/received_events","type":"User","site_admin":false},"body":"return this.alignMode === ONCE","created_at":"2018-03-07T02:38:31Z","updated_at":"2018-03-07T02:53:59Z","html_url":"https://github.com/cocos-creator/engine/pull/2405#discussion_r172726361","pull_request_url":"https://api.github.com/repos/cocos-creator/engine/pulls/2405","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/comments/172726361"},"html":{"href":"https://github.com/cocos-creator/engine/pull/2405#discussion_r172726361"},"pull_request":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/2405"}}},"pull_request":{"url":"https://api.github.com/repos/cocos-creator/engine/pulls/2405","id":173334615,"html_url":"https://github.com/cocos-creator/engine/pull/2405","diff_url":"https://github.com/cocos-creator/engine/pull/2405.diff","patch_url":"https://github.com/cocos-creator/engine/pull/2405.patch","issue_url":"https://api.github.com/repos/cocos-creator/engine/issues/2405","number":2405,"state":"open","locked":false,"title":"widget组件，align属性增加ONCE_WINDOW_RESIZED选项","user":{"login":"umbrellaPP","id":17872773,"avatar_url":"https://avatars2.githubusercontent.com/u/17872773?v=4","gravatar_id":"","url":"https://api.github.com/users/umbrellaPP","html_url":"https://github.com/umbrellaPP","followers_url":"https://api.github.com/users/umbrellaPP/followers","following_url":"https://api.github.com/users/umbrellaPP/following{/other_user}","gists_url":"https://api.github.com/users/umbrellaPP/gists{/gist_id}","starred_url":"https://api.github.com/users/umbrellaPP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbrellaPP/subscriptions","organizations_url":"https://api.github.com/users/umbrellaPP/orgs","repos_url":"https://api.github.com/users/umbrellaPP/repos","events_url":"https://api.github.com/users/umbrellaPP/events{/privacy}","received_events_url":"https://api.github.com/users/umbrellaPP/received_events","type":"User","site_admin":false},"body":"Re: #2395 \r\n\r\nChangelog:\r\n * \r\n\r\n<!-- Note: Makes sure these boxes are checked before submitting your PR - thank you!\r\n\r\n- [ ] If your pull request has gone \"stale\", you should **rebase** your work on top of the latest version of the upstream branch.\r\n- [ ] If your commit history is full of small, unimportant commits (such as \"fix pep8\" or \"update tests\"), **squash** your commits down to a few, or one, discreet changesets before submitting a pull request.\r\n\r\n- To official teams:\r\n  - [ ] Check that your javascript is following our [style guide](https://github.com/cocos-creator/fireball/blob/dev/.github/CONTRIBUTING.md) and end files with a newline\r\n  - [ ] Document new code with comments in source code based on [API Docs](https://github.com/cocos-creator/fireball#api-docs)\r\n  - [ ] Make sure any runtime log information in `cc.log` , `cc.error` or `new Error('')` has been moved into `DebugInfos.js` with an ID, and use `cc.logID(id)` or `new Error(cc._getErrorID(id))` instead.\r\n\r\n-->","created_at":"2018-03-07T02:10:06Z","updated_at":"2018-03-07T02:53:59Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f95d0e26c62b8b2fa9064c28fda2b28a6ea7ef8d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cocos-creator/engine/pulls/2405/commits","review_comments_url":"https://api.github.com/repos/cocos-creator/engine/pulls/2405/comments","review_comment_url":"https://api.github.com/repos/cocos-creator/engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cocos-creator/engine/issues/2405/comments","statuses_url":"https://api.github.com/repos/cocos-creator/engine/statuses/0ef6846a048057e04e2ecfa51f2f64a3ea9154ad","head":{"label":"umbrellaPP:master","ref":"master","sha":"0ef6846a048057e04e2ecfa51f2f64a3ea9154ad","user":{"login":"umbrellaPP","id":17872773,"avatar_url":"https://avatars2.githubusercontent.com/u/17872773?v=4","gravatar_id":"","url":"https://api.github.com/users/umbrellaPP","html_url":"https://github.com/umbrellaPP","followers_url":"https://api.github.com/users/umbrellaPP/followers","following_url":"https://api.github.com/users/umbrellaPP/following{/other_user}","gists_url":"https://api.github.com/users/umbrellaPP/gists{/gist_id}","starred_url":"https://api.github.com/users/umbrellaPP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbrellaPP/subscriptions","organizations_url":"https://api.github.com/users/umbrellaPP/orgs","repos_url":"https://api.github.com/users/umbrellaPP/repos","events_url":"https://api.github.com/users/umbrellaPP/events{/privacy}","received_events_url":"https://api.github.com/users/umbrellaPP/received_events","type":"User","site_admin":false},"repo":{"id":123270908,"name":"engine","full_name":"umbrellaPP/engine","owner":{"login":"umbrellaPP","id":17872773,"avatar_url":"https://avatars2.githubusercontent.com/u/17872773?v=4","gravatar_id":"","url":"https://api.github.com/users/umbrellaPP","html_url":"https://github.com/umbrellaPP","followers_url":"https://api.github.com/users/umbrellaPP/followers","following_url":"https://api.github.com/users/umbrellaPP/following{/other_user}","gists_url":"https://api.github.com/users/umbrellaPP/gists{/gist_id}","starred_url":"https://api.github.com/users/umbrellaPP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/umbrellaPP/subscriptions","organizations_url":"https://api.github.com/users/umbrellaPP/orgs","repos_url":"https://api.github.com/users/umbrellaPP/repos","events_url":"https://api.github.com/users/umbrellaPP/events{/privacy}","received_events_url":"https://api.github.com/users/umbrellaPP/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/umbrellaPP/engine","description":"The engine for Cocos Creator","fork":true,"url":"https://api.github.com/repos/umbrellaPP/engine","forks_url":"https://api.github.com/repos/umbrellaPP/engine/forks","keys_url":"https://api.github.com/repos/umbrellaPP/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/umbrellaPP/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/umbrellaPP/engine/teams","hooks_url":"https://api.github.com/repos/umbrellaPP/engine/hooks","issue_events_url":"https://api.github.com/repos/umbrellaPP/engine/issues/events{/number}","events_url":"https://api.github.com/repos/umbrellaPP/engine/events","assignees_url":"https://api.github.com/repos/umbrellaPP/engine/assignees{/user}","branches_url":"https://api.github.com/repos/umbrellaPP/engine/branches{/branch}","tags_url":"https://api.github.com/repos/umbrellaPP/engine/tags","blobs_url":"https://api.github.com/repos/umbrellaPP/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/umbrellaPP/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/umbrellaPP/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/umbrellaPP/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/umbrellaPP/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/umbrellaPP/engine/languages","stargazers_url":"https://api.github.com/repos/umbrellaPP/engine/stargazers","contributors_url":"https://api.github.com/repos/umbrellaPP/engine/contributors","subscribers_url":"https://api.github.com/repos/umbrellaPP/engine/subscribers","subscription_url":"https://api.github.com/repos/umbrellaPP/engine/subscription","commits_url":"https://api.github.com/repos/umbrellaPP/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/umbrellaPP/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/umbrellaPP/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/umbrellaPP/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/umbrellaPP/engine/contents/{+path}","compare_url":"https://api.github.com/repos/umbrellaPP/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/umbrellaPP/engine/merges","archive_url":"https://api.github.com/repos/umbrellaPP/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/umbrellaPP/engine/downloads","issues_url":"https://api.github.com/repos/umbrellaPP/engine/issues{/number}","pulls_url":"https://api.github.com/repos/umbrellaPP/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/umbrellaPP/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/umbrellaPP/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/umbrellaPP/engine/labels{/name}","releases_url":"https://api.github.com/repos/umbrellaPP/engine/releases{/id}","deployments_url":"https://api.github.com/repos/umbrellaPP/engine/deployments","created_at":"2018-02-28T10:43:52Z","updated_at":"2018-02-28T10:43:57Z","pushed_at":"2018-03-07T02:06:58Z","git_url":"git://github.com/umbrellaPP/engine.git","ssh_url":"git@github.com:umbrellaPP/engine.git","clone_url":"https://github.com/umbrellaPP/engine.git","svn_url":"https://github.com/umbrellaPP/engine","homepage":"http://www.cocos2d-x.org/creator","size":32590,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cocos-creator:master","ref":"master","sha":"5ebcef848cba87a8d3a6dc68440fc98ed8259fce","user":{"login":"cocos-creator","id":6937061,"avatar_url":"https://avatars3.githubusercontent.com/u/6937061?v=4","gravatar_id":"","url":"https://api.github.com/users/cocos-creator","html_url":"https://github.com/cocos-creator","followers_url":"https://api.github.com/users/cocos-creator/followers","following_url":"https://api.github.com/users/cocos-creator/following{/other_user}","gists_url":"https://api.github.com/users/cocos-creator/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos-creator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos-creator/subscriptions","organizations_url":"https://api.github.com/users/cocos-creator/orgs","repos_url":"https://api.github.com/users/cocos-creator/repos","events_url":"https://api.github.com/users/cocos-creator/events{/privacy}","received_events_url":"https://api.github.com/users/cocos-creator/received_events","type":"Organization","site_admin":false},"repo":{"id":47440536,"name":"engine","full_name":"cocos-creator/engine","owner":{"login":"cocos-creator","id":6937061,"avatar_url":"https://avatars3.githubusercontent.com/u/6937061?v=4","gravatar_id":"","url":"https://api.github.com/users/cocos-creator","html_url":"https://github.com/cocos-creator","followers_url":"https://api.github.com/users/cocos-creator/followers","following_url":"https://api.github.com/users/cocos-creator/following{/other_user}","gists_url":"https://api.github.com/users/cocos-creator/gists{/gist_id}","starred_url":"https://api.github.com/users/cocos-creator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cocos-creator/subscriptions","organizations_url":"https://api.github.com/users/cocos-creator/orgs","repos_url":"https://api.github.com/users/cocos-creator/repos","events_url":"https://api.github.com/users/cocos-creator/events{/privacy}","received_events_url":"https://api.github.com/users/cocos-creator/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cocos-creator/engine","description":"The engine for Cocos Creator","fork":false,"url":"https://api.github.com/repos/cocos-creator/engine","forks_url":"https://api.github.com/repos/cocos-creator/engine/forks","keys_url":"https://api.github.com/repos/cocos-creator/engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cocos-creator/engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cocos-creator/engine/teams","hooks_url":"https://api.github.com/repos/cocos-creator/engine/hooks","issue_events_url":"https://api.github.com/repos/cocos-creator/engine/issues/events{/number}","events_url":"https://api.github.com/repos/cocos-creator/engine/events","assignees_url":"https://api.github.com/repos/cocos-creator/engine/assignees{/user}","branches_url":"https://api.github.com/repos/cocos-creator/engine/branches{/branch}","tags_url":"https://api.github.com/repos/cocos-creator/engine/tags","blobs_url":"https://api.github.com/repos/cocos-creator/engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cocos-creator/engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cocos-creator/engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/cocos-creator/engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cocos-creator/engine/statuses/{sha}","languages_url":"https://api.github.com/repos/cocos-creator/engine/languages","stargazers_url":"https://api.github.com/repos/cocos-creator/engine/stargazers","contributors_url":"https://api.github.com/repos/cocos-creator/engine/contributors","subscribers_url":"https://api.github.com/repos/cocos-creator/engine/subscribers","subscription_url":"https://api.github.com/repos/cocos-creator/engine/subscription","commits_url":"https://api.github.com/repos/cocos-creator/engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/cocos-creator/engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/cocos-creator/engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/cocos-creator/engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/cocos-creator/engine/contents/{+path}","compare_url":"https://api.github.com/repos/cocos-creator/engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cocos-creator/engine/merges","archive_url":"https://api.github.com/repos/cocos-creator/engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cocos-creator/engine/downloads","issues_url":"https://api.github.com/repos/cocos-creator/engine/issues{/number}","pulls_url":"https://api.github.com/repos/cocos-creator/engine/pulls{/number}","milestones_url":"https://api.github.com/repos/cocos-creator/engine/milestones{/number}","notifications_url":"https://api.github.com/repos/cocos-creator/engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cocos-creator/engine/labels{/name}","releases_url":"https://api.github.com/repos/cocos-creator/engine/releases{/id}","deployments_url":"https://api.github.com/repos/cocos-creator/engine/deployments","created_at":"2015-12-05T03:28:59Z","updated_at":"2018-03-01T19:16:13Z","pushed_at":"2018-03-07T02:47:25Z","git_url":"git://github.com/cocos-creator/engine.git","ssh_url":"git@github.com:cocos-creator/engine.git","clone_url":"https://github.com/cocos-creator/engine.git","svn_url":"https://github.com/cocos-creator/engine","homepage":"http://www.cocos2d-x.org/creator","size":32396,"stargazers_count":411,"watchers_count":411,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":302,"mirror_url":null,"archived":false,"open_issues_count":88,"license":null,"forks":302,"open_issues":88,"watchers":411,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/2405"},"html":{"href":"https://github.com/cocos-creator/engine/pull/2405"},"issue":{"href":"https://api.github.com/repos/cocos-creator/engine/issues/2405"},"comments":{"href":"https://api.github.com/repos/cocos-creator/engine/issues/2405/comments"},"review_comments":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/2405/comments"},"review_comment":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cocos-creator/engine/pulls/2405/commits"},"statuses":{"href":"https://api.github.com/repos/cocos-creator/engine/statuses/0ef6846a048057e04e2ecfa51f2f64a3ea9154ad"}},"author_association":"NONE"}}
{"actor":{"display_login":"jareguo"}}