{"action":"created","comment":{"url":"https://api.github.com/repos/youzan/vant/pulls/comments/184262334","pull_request_review_id":115420601,"id":184262334,"diff_hunk":"@@ -115,9 +134,10 @@ export default create({\n       // reset offset when children changes\n       clearTimeout(this.timer);\n       this.width = this.$el.getBoundingClientRect().width;\n+      this.height = this.$el.getBoundingClientRect().height;","path":"packages/swipe/index.vue","position":72,"original_position":72,"commit_id":"0e8eb34ab807ec5a7ce14b4e0662bb01cfed51ec","original_commit_id":"0e8eb34ab807ec5a7ce14b4e0662bb01cfed51ec","user":{"login":"chenjiahan","id":7237365,"avatar_url":"https://avatars1.githubusercontent.com/u/7237365?v=4","gravatar_id":"","url":"https://api.github.com/users/chenjiahan","html_url":"https://github.com/chenjiahan","followers_url":"https://api.github.com/users/chenjiahan/followers","following_url":"https://api.github.com/users/chenjiahan/following{/other_user}","gists_url":"https://api.github.com/users/chenjiahan/gists{/gist_id}","starred_url":"https://api.github.com/users/chenjiahan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chenjiahan/subscriptions","organizations_url":"https://api.github.com/users/chenjiahan/orgs","repos_url":"https://api.github.com/users/chenjiahan/repos","events_url":"https://api.github.com/users/chenjiahan/events{/privacy}","received_events_url":"https://api.github.com/users/chenjiahan/received_events","type":"User","site_admin":false},"body":"const rect = this.$el.getBoundingClientRect();\r\nthis.width = rect.width;\r\nthis.height = rect.height;","created_at":"2018-04-26T03:29:52Z","updated_at":"2018-04-26T03:29:52Z","html_url":"https://github.com/youzan/vant/pull/938#discussion_r184262334","pull_request_url":"https://api.github.com/repos/youzan/vant/pulls/938","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/youzan/vant/pulls/comments/184262334"},"html":{"href":"https://github.com/youzan/vant/pull/938#discussion_r184262334"},"pull_request":{"href":"https://api.github.com/repos/youzan/vant/pulls/938"}}},"pull_request":{"url":"https://api.github.com/repos/youzan/vant/pulls/938","id":183961685,"html_url":"https://github.com/youzan/vant/pull/938","diff_url":"https://github.com/youzan/vant/pull/938.diff","patch_url":"https://github.com/youzan/vant/pull/938.patch","issue_url":"https://api.github.com/repos/youzan/vant/issues/938","number":938,"state":"open","locked":false,"title":"[new feature] #734 swipe组件支持垂直滚动","user":{"login":"jerryni","id":7235595,"avatar_url":"https://avatars3.githubusercontent.com/u/7235595?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryni","html_url":"https://github.com/jerryni","followers_url":"https://api.github.com/users/jerryni/followers","following_url":"https://api.github.com/users/jerryni/following{/other_user}","gists_url":"https://api.github.com/users/jerryni/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryni/subscriptions","organizations_url":"https://api.github.com/users/jerryni/orgs","repos_url":"https://api.github.com/users/jerryni/repos","events_url":"https://api.github.com/users/jerryni/events{/privacy}","received_events_url":"https://api.github.com/users/jerryni/received_events","type":"User","site_admin":false},"body":"swipe组件支持垂直滚动，增加vertical属性 #734：\r\n\r\n- 支持垂直滚动\r\n- indicators样式随之变化\r\n- 修复touchmove错误代码\r\n- swipe-item添加垂直方向属性\r\n","created_at":"2018-04-25T08:40:36Z","updated_at":"2018-04-26T03:29:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fd533583fb4857645a7808020c2f62ee3bda1775","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/youzan/vant/pulls/938/commits","review_comments_url":"https://api.github.com/repos/youzan/vant/pulls/938/comments","review_comment_url":"https://api.github.com/repos/youzan/vant/pulls/comments{/number}","comments_url":"https://api.github.com/repos/youzan/vant/issues/938/comments","statuses_url":"https://api.github.com/repos/youzan/vant/statuses/0e8eb34ab807ec5a7ce14b4e0662bb01cfed51ec","head":{"label":"jerryni:dev","ref":"dev","sha":"0e8eb34ab807ec5a7ce14b4e0662bb01cfed51ec","user":{"login":"jerryni","id":7235595,"avatar_url":"https://avatars3.githubusercontent.com/u/7235595?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryni","html_url":"https://github.com/jerryni","followers_url":"https://api.github.com/users/jerryni/followers","following_url":"https://api.github.com/users/jerryni/following{/other_user}","gists_url":"https://api.github.com/users/jerryni/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryni/subscriptions","organizations_url":"https://api.github.com/users/jerryni/orgs","repos_url":"https://api.github.com/users/jerryni/repos","events_url":"https://api.github.com/users/jerryni/events{/privacy}","received_events_url":"https://api.github.com/users/jerryni/received_events","type":"User","site_admin":false},"repo":{"id":129670585,"name":"vant","full_name":"jerryni/vant","owner":{"login":"jerryni","id":7235595,"avatar_url":"https://avatars3.githubusercontent.com/u/7235595?v=4","gravatar_id":"","url":"https://api.github.com/users/jerryni","html_url":"https://github.com/jerryni","followers_url":"https://api.github.com/users/jerryni/followers","following_url":"https://api.github.com/users/jerryni/following{/other_user}","gists_url":"https://api.github.com/users/jerryni/gists{/gist_id}","starred_url":"https://api.github.com/users/jerryni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jerryni/subscriptions","organizations_url":"https://api.github.com/users/jerryni/orgs","repos_url":"https://api.github.com/users/jerryni/repos","events_url":"https://api.github.com/users/jerryni/events{/privacy}","received_events_url":"https://api.github.com/users/jerryni/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jerryni/vant","description":"A Vue.js 2.0 Mobile UI at YouZan","fork":true,"url":"https://api.github.com/repos/jerryni/vant","forks_url":"https://api.github.com/repos/jerryni/vant/forks","keys_url":"https://api.github.com/repos/jerryni/vant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jerryni/vant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jerryni/vant/teams","hooks_url":"https://api.github.com/repos/jerryni/vant/hooks","issue_events_url":"https://api.github.com/repos/jerryni/vant/issues/events{/number}","events_url":"https://api.github.com/repos/jerryni/vant/events","assignees_url":"https://api.github.com/repos/jerryni/vant/assignees{/user}","branches_url":"https://api.github.com/repos/jerryni/vant/branches{/branch}","tags_url":"https://api.github.com/repos/jerryni/vant/tags","blobs_url":"https://api.github.com/repos/jerryni/vant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jerryni/vant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jerryni/vant/git/refs{/sha}","trees_url":"https://api.github.com/repos/jerryni/vant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jerryni/vant/statuses/{sha}","languages_url":"https://api.github.com/repos/jerryni/vant/languages","stargazers_url":"https://api.github.com/repos/jerryni/vant/stargazers","contributors_url":"https://api.github.com/repos/jerryni/vant/contributors","subscribers_url":"https://api.github.com/repos/jerryni/vant/subscribers","subscription_url":"https://api.github.com/repos/jerryni/vant/subscription","commits_url":"https://api.github.com/repos/jerryni/vant/commits{/sha}","git_commits_url":"https://api.github.com/repos/jerryni/vant/git/commits{/sha}","comments_url":"https://api.github.com/repos/jerryni/vant/comments{/number}","issue_comment_url":"https://api.github.com/repos/jerryni/vant/issues/comments{/number}","contents_url":"https://api.github.com/repos/jerryni/vant/contents/{+path}","compare_url":"https://api.github.com/repos/jerryni/vant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jerryni/vant/merges","archive_url":"https://api.github.com/repos/jerryni/vant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jerryni/vant/downloads","issues_url":"https://api.github.com/repos/jerryni/vant/issues{/number}","pulls_url":"https://api.github.com/repos/jerryni/vant/pulls{/number}","milestones_url":"https://api.github.com/repos/jerryni/vant/milestones{/number}","notifications_url":"https://api.github.com/repos/jerryni/vant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jerryni/vant/labels{/name}","releases_url":"https://api.github.com/repos/jerryni/vant/releases{/id}","deployments_url":"https://api.github.com/repos/jerryni/vant/deployments","created_at":"2018-04-16T01:59:36Z","updated_at":"2018-04-25T08:34:12Z","pushed_at":"2018-04-25T08:34:12Z","git_url":"git://github.com/jerryni/vant.git","ssh_url":"git@github.com:jerryni/vant.git","clone_url":"https://github.com/jerryni/vant.git","svn_url":"https://github.com/jerryni/vant","homepage":"https://www.youzanyun.com/zanui/vant","size":15962,"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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"youzan:dev","ref":"dev","sha":"7bdce042686e3679ef2c20fa9da63a72b4df3b64","user":{"login":"youzan","id":11404085,"avatar_url":"https://avatars2.githubusercontent.com/u/11404085?v=4","gravatar_id":"","url":"https://api.github.com/users/youzan","html_url":"https://github.com/youzan","followers_url":"https://api.github.com/users/youzan/followers","following_url":"https://api.github.com/users/youzan/following{/other_user}","gists_url":"https://api.github.com/users/youzan/gists{/gist_id}","starred_url":"https://api.github.com/users/youzan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youzan/subscriptions","organizations_url":"https://api.github.com/users/youzan/orgs","repos_url":"https://api.github.com/users/youzan/repos","events_url":"https://api.github.com/users/youzan/events{/privacy}","received_events_url":"https://api.github.com/users/youzan/received_events","type":"Organization","site_admin":false},"repo":{"id":88717215,"name":"vant","full_name":"youzan/vant","owner":{"login":"youzan","id":11404085,"avatar_url":"https://avatars2.githubusercontent.com/u/11404085?v=4","gravatar_id":"","url":"https://api.github.com/users/youzan","html_url":"https://github.com/youzan","followers_url":"https://api.github.com/users/youzan/followers","following_url":"https://api.github.com/users/youzan/following{/other_user}","gists_url":"https://api.github.com/users/youzan/gists{/gist_id}","starred_url":"https://api.github.com/users/youzan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youzan/subscriptions","organizations_url":"https://api.github.com/users/youzan/orgs","repos_url":"https://api.github.com/users/youzan/repos","events_url":"https://api.github.com/users/youzan/events{/privacy}","received_events_url":"https://api.github.com/users/youzan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/youzan/vant","description":"A Vue.js 2.0 Mobile UI at YouZan","fork":false,"url":"https://api.github.com/repos/youzan/vant","forks_url":"https://api.github.com/repos/youzan/vant/forks","keys_url":"https://api.github.com/repos/youzan/vant/keys{/key_id}","collaborators_url":"https://api.github.com/repos/youzan/vant/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/youzan/vant/teams","hooks_url":"https://api.github.com/repos/youzan/vant/hooks","issue_events_url":"https://api.github.com/repos/youzan/vant/issues/events{/number}","events_url":"https://api.github.com/repos/youzan/vant/events","assignees_url":"https://api.github.com/repos/youzan/vant/assignees{/user}","branches_url":"https://api.github.com/repos/youzan/vant/branches{/branch}","tags_url":"https://api.github.com/repos/youzan/vant/tags","blobs_url":"https://api.github.com/repos/youzan/vant/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/youzan/vant/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/youzan/vant/git/refs{/sha}","trees_url":"https://api.github.com/repos/youzan/vant/git/trees{/sha}","statuses_url":"https://api.github.com/repos/youzan/vant/statuses/{sha}","languages_url":"https://api.github.com/repos/youzan/vant/languages","stargazers_url":"https://api.github.com/repos/youzan/vant/stargazers","contributors_url":"https://api.github.com/repos/youzan/vant/contributors","subscribers_url":"https://api.github.com/repos/youzan/vant/subscribers","subscription_url":"https://api.github.com/repos/youzan/vant/subscription","commits_url":"https://api.github.com/repos/youzan/vant/commits{/sha}","git_commits_url":"https://api.github.com/repos/youzan/vant/git/commits{/sha}","comments_url":"https://api.github.com/repos/youzan/vant/comments{/number}","issue_comment_url":"https://api.github.com/repos/youzan/vant/issues/comments{/number}","contents_url":"https://api.github.com/repos/youzan/vant/contents/{+path}","compare_url":"https://api.github.com/repos/youzan/vant/compare/{base}...{head}","merges_url":"https://api.github.com/repos/youzan/vant/merges","archive_url":"https://api.github.com/repos/youzan/vant/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/youzan/vant/downloads","issues_url":"https://api.github.com/repos/youzan/vant/issues{/number}","pulls_url":"https://api.github.com/repos/youzan/vant/pulls{/number}","milestones_url":"https://api.github.com/repos/youzan/vant/milestones{/number}","notifications_url":"https://api.github.com/repos/youzan/vant/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/youzan/vant/labels{/name}","releases_url":"https://api.github.com/repos/youzan/vant/releases{/id}","deployments_url":"https://api.github.com/repos/youzan/vant/deployments","created_at":"2017-04-19T07:55:31Z","updated_at":"2018-04-26T02:55:55Z","pushed_at":"2018-04-25T13:02:42Z","git_url":"git://github.com/youzan/vant.git","ssh_url":"git@github.com:youzan/vant.git","clone_url":"https://github.com/youzan/vant.git","svn_url":"https://github.com/youzan/vant","homepage":"https://www.youzanyun.com/zanui/vant","size":16084,"stargazers_count":4186,"watchers_count":4186,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":499,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":499,"open_issues":16,"watchers":4186,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/youzan/vant/pulls/938"},"html":{"href":"https://github.com/youzan/vant/pull/938"},"issue":{"href":"https://api.github.com/repos/youzan/vant/issues/938"},"comments":{"href":"https://api.github.com/repos/youzan/vant/issues/938/comments"},"review_comments":{"href":"https://api.github.com/repos/youzan/vant/pulls/938/comments"},"review_comment":{"href":"https://api.github.com/repos/youzan/vant/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/youzan/vant/pulls/938/commits"},"statuses":{"href":"https://api.github.com/repos/youzan/vant/statuses/0e8eb34ab807ec5a7ce14b4e0662bb01cfed51ec"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"chenjiahan"}}