{"action":"opened","number":16,"pull_request":{"url":"https://api.github.com/repos/ximan/swipeSlide/pulls/16","id":83967874,"html_url":"https://github.com/ximan/swipeSlide/pull/16","diff_url":"https://github.com/ximan/swipeSlide/pull/16.diff","patch_url":"https://github.com/ximan/swipeSlide/pull/16.patch","issue_url":"https://api.github.com/repos/ximan/swipeSlide/issues/16","number":16,"state":"open","locked":false,"title":"修复手动滑动时，自动播放失效的问题","user":{"login":"yuana1","id":7308509,"avatar_url":"https://avatars.githubusercontent.com/u/7308509?v=3","gravatar_id":"","url":"https://api.github.com/users/yuana1","html_url":"https://github.com/yuana1","followers_url":"https://api.github.com/users/yuana1/followers","following_url":"https://api.github.com/users/yuana1/following{/other_user}","gists_url":"https://api.github.com/users/yuana1/gists{/gist_id}","starred_url":"https://api.github.com/users/yuana1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuana1/subscriptions","organizations_url":"https://api.github.com/users/yuana1/orgs","repos_url":"https://api.github.com/users/yuana1/repos","events_url":"https://api.github.com/users/yuana1/events{/privacy}","received_events_url":"https://api.github.com/users/yuana1/received_events","type":"User","site_admin":false},"body":"\r\n手动滑动的时候会先删除定时器，在向上一个循环，或者下一个循环滑动时，代码中添加了\r\n\r\n```\r\n        // 如果是连续滚动  367行\r\n        if (me.opts.continuousScroll) {\r\n            if (me._index >= me._liLength) {\r\n                fnScroll(me, num);\r\n                me._index = 0;\r\n                setTimeout(function() {\r\n                    console.log(\"hello\");\r\n                    fnScroll(me, 0);\r\n                    return;//return 了，导致 webkitTransitionEnd事件不会触发\r\n                }, 300);\r\n            } else if (me._index < 0) {\r\n                fnScroll(me, num);\r\n                me._index = me._liLength - 1;\r\n                setTimeout(function() {\r\n                    fnScroll(me, 0);\r\n                    return; //return 了，导致 webkitTransitionEnd事件不会触发\r\n                }, 300);\r\n            } else {\r\n                fnScroll(me, num);\r\n            }\r\n        }\r\n```\r\n自动播放失效。\r\n将return 删除即可。 但是不知道会不会有其他的问题，还请详细测试下。多谢！","created_at":"2016-09-05T08:42:00Z","updated_at":"2016-09-05T08:42:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ximan/swipeSlide/pulls/16/commits","review_comments_url":"https://api.github.com/repos/ximan/swipeSlide/pulls/16/comments","review_comment_url":"https://api.github.com/repos/ximan/swipeSlide/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ximan/swipeSlide/issues/16/comments","statuses_url":"https://api.github.com/repos/ximan/swipeSlide/statuses/361b66164e24d2c47a784f44ba7d889c641ffc37","head":{"label":"yuana1:gh-pages","ref":"gh-pages","sha":"361b66164e24d2c47a784f44ba7d889c641ffc37","user":{"login":"yuana1","id":7308509,"avatar_url":"https://avatars.githubusercontent.com/u/7308509?v=3","gravatar_id":"","url":"https://api.github.com/users/yuana1","html_url":"https://github.com/yuana1","followers_url":"https://api.github.com/users/yuana1/followers","following_url":"https://api.github.com/users/yuana1/following{/other_user}","gists_url":"https://api.github.com/users/yuana1/gists{/gist_id}","starred_url":"https://api.github.com/users/yuana1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuana1/subscriptions","organizations_url":"https://api.github.com/users/yuana1/orgs","repos_url":"https://api.github.com/users/yuana1/repos","events_url":"https://api.github.com/users/yuana1/events{/privacy}","received_events_url":"https://api.github.com/users/yuana1/received_events","type":"User","site_admin":false},"repo":{"id":67402779,"name":"swipeSlide","full_name":"yuana1/swipeSlide","owner":{"login":"yuana1","id":7308509,"avatar_url":"https://avatars.githubusercontent.com/u/7308509?v=3","gravatar_id":"","url":"https://api.github.com/users/yuana1","html_url":"https://github.com/yuana1","followers_url":"https://api.github.com/users/yuana1/followers","following_url":"https://api.github.com/users/yuana1/following{/other_user}","gists_url":"https://api.github.com/users/yuana1/gists{/gist_id}","starred_url":"https://api.github.com/users/yuana1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yuana1/subscriptions","organizations_url":"https://api.github.com/users/yuana1/orgs","repos_url":"https://api.github.com/users/yuana1/repos","events_url":"https://api.github.com/users/yuana1/events{/privacy}","received_events_url":"https://api.github.com/users/yuana1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yuana1/swipeSlide","description":"移动端轮播图（基于Zepto/jQuery）","fork":true,"url":"https://api.github.com/repos/yuana1/swipeSlide","forks_url":"https://api.github.com/repos/yuana1/swipeSlide/forks","keys_url":"https://api.github.com/repos/yuana1/swipeSlide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yuana1/swipeSlide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yuana1/swipeSlide/teams","hooks_url":"https://api.github.com/repos/yuana1/swipeSlide/hooks","issue_events_url":"https://api.github.com/repos/yuana1/swipeSlide/issues/events{/number}","events_url":"https://api.github.com/repos/yuana1/swipeSlide/events","assignees_url":"https://api.github.com/repos/yuana1/swipeSlide/assignees{/user}","branches_url":"https://api.github.com/repos/yuana1/swipeSlide/branches{/branch}","tags_url":"https://api.github.com/repos/yuana1/swipeSlide/tags","blobs_url":"https://api.github.com/repos/yuana1/swipeSlide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yuana1/swipeSlide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yuana1/swipeSlide/git/refs{/sha}","trees_url":"https://api.github.com/repos/yuana1/swipeSlide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yuana1/swipeSlide/statuses/{sha}","languages_url":"https://api.github.com/repos/yuana1/swipeSlide/languages","stargazers_url":"https://api.github.com/repos/yuana1/swipeSlide/stargazers","contributors_url":"https://api.github.com/repos/yuana1/swipeSlide/contributors","subscribers_url":"https://api.github.com/repos/yuana1/swipeSlide/subscribers","subscription_url":"https://api.github.com/repos/yuana1/swipeSlide/subscription","commits_url":"https://api.github.com/repos/yuana1/swipeSlide/commits{/sha}","git_commits_url":"https://api.github.com/repos/yuana1/swipeSlide/git/commits{/sha}","comments_url":"https://api.github.com/repos/yuana1/swipeSlide/comments{/number}","issue_comment_url":"https://api.github.com/repos/yuana1/swipeSlide/issues/comments{/number}","contents_url":"https://api.github.com/repos/yuana1/swipeSlide/contents/{+path}","compare_url":"https://api.github.com/repos/yuana1/swipeSlide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yuana1/swipeSlide/merges","archive_url":"https://api.github.com/repos/yuana1/swipeSlide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yuana1/swipeSlide/downloads","issues_url":"https://api.github.com/repos/yuana1/swipeSlide/issues{/number}","pulls_url":"https://api.github.com/repos/yuana1/swipeSlide/pulls{/number}","milestones_url":"https://api.github.com/repos/yuana1/swipeSlide/milestones{/number}","notifications_url":"https://api.github.com/repos/yuana1/swipeSlide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yuana1/swipeSlide/labels{/name}","releases_url":"https://api.github.com/repos/yuana1/swipeSlide/releases{/id}","deployments_url":"https://api.github.com/repos/yuana1/swipeSlide/deployments","created_at":"2016-09-05T08:32:09Z","updated_at":"2016-09-05T08:32:10Z","pushed_at":"2016-09-05T08:35:34Z","git_url":"git://github.com/yuana1/swipeSlide.git","ssh_url":"git@github.com:yuana1/swipeSlide.git","clone_url":"https://github.com/yuana1/swipeSlide.git","svn_url":"https://github.com/yuana1/swipeSlide","homepage":"","size":136,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"ximan:gh-pages","ref":"gh-pages","sha":"dd2cf896ae396a731e67425f3dc01b83146df8dc","user":{"login":"ximan","id":2944289,"avatar_url":"https://avatars.githubusercontent.com/u/2944289?v=3","gravatar_id":"","url":"https://api.github.com/users/ximan","html_url":"https://github.com/ximan","followers_url":"https://api.github.com/users/ximan/followers","following_url":"https://api.github.com/users/ximan/following{/other_user}","gists_url":"https://api.github.com/users/ximan/gists{/gist_id}","starred_url":"https://api.github.com/users/ximan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximan/subscriptions","organizations_url":"https://api.github.com/users/ximan/orgs","repos_url":"https://api.github.com/users/ximan/repos","events_url":"https://api.github.com/users/ximan/events{/privacy}","received_events_url":"https://api.github.com/users/ximan/received_events","type":"User","site_admin":false},"repo":{"id":23705371,"name":"swipeSlide","full_name":"ximan/swipeSlide","owner":{"login":"ximan","id":2944289,"avatar_url":"https://avatars.githubusercontent.com/u/2944289?v=3","gravatar_id":"","url":"https://api.github.com/users/ximan","html_url":"https://github.com/ximan","followers_url":"https://api.github.com/users/ximan/followers","following_url":"https://api.github.com/users/ximan/following{/other_user}","gists_url":"https://api.github.com/users/ximan/gists{/gist_id}","starred_url":"https://api.github.com/users/ximan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ximan/subscriptions","organizations_url":"https://api.github.com/users/ximan/orgs","repos_url":"https://api.github.com/users/ximan/repos","events_url":"https://api.github.com/users/ximan/events{/privacy}","received_events_url":"https://api.github.com/users/ximan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ximan/swipeSlide","description":"移动端轮播图（基于Zepto/jQuery）","fork":false,"url":"https://api.github.com/repos/ximan/swipeSlide","forks_url":"https://api.github.com/repos/ximan/swipeSlide/forks","keys_url":"https://api.github.com/repos/ximan/swipeSlide/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ximan/swipeSlide/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ximan/swipeSlide/teams","hooks_url":"https://api.github.com/repos/ximan/swipeSlide/hooks","issue_events_url":"https://api.github.com/repos/ximan/swipeSlide/issues/events{/number}","events_url":"https://api.github.com/repos/ximan/swipeSlide/events","assignees_url":"https://api.github.com/repos/ximan/swipeSlide/assignees{/user}","branches_url":"https://api.github.com/repos/ximan/swipeSlide/branches{/branch}","tags_url":"https://api.github.com/repos/ximan/swipeSlide/tags","blobs_url":"https://api.github.com/repos/ximan/swipeSlide/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ximan/swipeSlide/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ximan/swipeSlide/git/refs{/sha}","trees_url":"https://api.github.com/repos/ximan/swipeSlide/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ximan/swipeSlide/statuses/{sha}","languages_url":"https://api.github.com/repos/ximan/swipeSlide/languages","stargazers_url":"https://api.github.com/repos/ximan/swipeSlide/stargazers","contributors_url":"https://api.github.com/repos/ximan/swipeSlide/contributors","subscribers_url":"https://api.github.com/repos/ximan/swipeSlide/subscribers","subscription_url":"https://api.github.com/repos/ximan/swipeSlide/subscription","commits_url":"https://api.github.com/repos/ximan/swipeSlide/commits{/sha}","git_commits_url":"https://api.github.com/repos/ximan/swipeSlide/git/commits{/sha}","comments_url":"https://api.github.com/repos/ximan/swipeSlide/comments{/number}","issue_comment_url":"https://api.github.com/repos/ximan/swipeSlide/issues/comments{/number}","contents_url":"https://api.github.com/repos/ximan/swipeSlide/contents/{+path}","compare_url":"https://api.github.com/repos/ximan/swipeSlide/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ximan/swipeSlide/merges","archive_url":"https://api.github.com/repos/ximan/swipeSlide/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ximan/swipeSlide/downloads","issues_url":"https://api.github.com/repos/ximan/swipeSlide/issues{/number}","pulls_url":"https://api.github.com/repos/ximan/swipeSlide/pulls{/number}","milestones_url":"https://api.github.com/repos/ximan/swipeSlide/milestones{/number}","notifications_url":"https://api.github.com/repos/ximan/swipeSlide/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ximan/swipeSlide/labels{/name}","releases_url":"https://api.github.com/repos/ximan/swipeSlide/releases{/id}","deployments_url":"https://api.github.com/repos/ximan/swipeSlide/deployments","created_at":"2014-09-05T14:14:38Z","updated_at":"2016-09-05T03:07:27Z","pushed_at":"2016-09-05T08:42:00Z","git_url":"git://github.com/ximan/swipeSlide.git","ssh_url":"git@github.com:ximan/swipeSlide.git","clone_url":"https://github.com/ximan/swipeSlide.git","svn_url":"https://github.com/ximan/swipeSlide","homepage":"","size":136,"stargazers_count":238,"watchers_count":238,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":101,"mirror_url":null,"open_issues_count":4,"forks":101,"open_issues":4,"watchers":238,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/ximan/swipeSlide/pulls/16"},"html":{"href":"https://github.com/ximan/swipeSlide/pull/16"},"issue":{"href":"https://api.github.com/repos/ximan/swipeSlide/issues/16"},"comments":{"href":"https://api.github.com/repos/ximan/swipeSlide/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/ximan/swipeSlide/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/ximan/swipeSlide/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ximan/swipeSlide/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/ximan/swipeSlide/statuses/361b66164e24d2c47a784f44ba7d889c641ffc37"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":7,"changed_files":1}}
{"actor":{"display_login":"yuana1"}}