{"action":"created","issue":{"url":"https://api.github.com/repos/lukehaas/Scrollify/issues/185","repository_url":"https://api.github.com/repos/lukehaas/Scrollify","labels_url":"https://api.github.com/repos/lukehaas/Scrollify/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/lukehaas/Scrollify/issues/185/comments","events_url":"https://api.github.com/repos/lukehaas/Scrollify/issues/185/events","html_url":"https://github.com/lukehaas/Scrollify/pull/185","id":190028560,"number":185,"title":"fix issue #161: before()/after() doesn't trigger","user":{"login":"zhangxh6931","id":6680157,"avatar_url":"https://avatars.githubusercontent.com/u/6680157?v=3","gravatar_id":"","url":"https://api.github.com/users/zhangxh6931","html_url":"https://github.com/zhangxh6931","followers_url":"https://api.github.com/users/zhangxh6931/followers","following_url":"https://api.github.com/users/zhangxh6931/following{/other_user}","gists_url":"https://api.github.com/users/zhangxh6931/gists{/gist_id}","starred_url":"https://api.github.com/users/zhangxh6931/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhangxh6931/subscriptions","organizations_url":"https://api.github.com/users/zhangxh6931/orgs","repos_url":"https://api.github.com/users/zhangxh6931/repos","events_url":"https://api.github.com/users/zhangxh6931/events{/privacy}","received_events_url":"https://api.github.com/users/zhangxh6931/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-11-17T12:04:42Z","updated_at":"2016-11-18T10:53:36Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/lukehaas/Scrollify/pulls/185","html_url":"https://github.com/lukehaas/Scrollify/pull/185","diff_url":"https://github.com/lukehaas/Scrollify/pull/185.diff","patch_url":"https://github.com/lukehaas/Scrollify/pull/185.patch"},"body":"animateScroll() called with different 'index' in a very short time, such as index 0, 1.\r\nwhen index form 0 change to 1 then change 0，because of short time promise().done() not call, so currentIndex still 0. this time if (currentIndex === index) { callbacks = false; }\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/lukehaas/Scrollify/issues/comments/261504241","html_url":"https://github.com/lukehaas/Scrollify/pull/185#issuecomment-261504241","issue_url":"https://api.github.com/repos/lukehaas/Scrollify/issues/185","id":261504241,"user":{"login":"fogmoon","id":22490781,"avatar_url":"https://avatars.githubusercontent.com/u/22490781?v=3","gravatar_id":"","url":"https://api.github.com/users/fogmoon","html_url":"https://github.com/fogmoon","followers_url":"https://api.github.com/users/fogmoon/followers","following_url":"https://api.github.com/users/fogmoon/following{/other_user}","gists_url":"https://api.github.com/users/fogmoon/gists{/gist_id}","starred_url":"https://api.github.com/users/fogmoon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fogmoon/subscriptions","organizations_url":"https://api.github.com/users/fogmoon/orgs","repos_url":"https://api.github.com/users/fogmoon/repos","events_url":"https://api.github.com/users/fogmoon/events{/privacy}","received_events_url":"https://api.github.com/users/fogmoon/received_events","type":"User","site_admin":false},"created_at":"2016-11-18T10:53:36Z","updated_at":"2016-11-18T10:53:36Z","body":"I come across this problem and this fix is effective for me."}}
{"actor":{"display_login":"fogmoon"}}