{"action":"created","comment":{"url":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/comments/32773620","id":32773620,"diff_hunk":"@@ -101,13 +103,6 @@\n         sy = w.scrollY || w.pageYOffset,\n         startTime = now();\n \n-    if (startX === undefined) {\n-      startX = sx;\n-      startY = sy;\n-      endX = x;\n-      endY = y;\n-    }\n-","path":"smoothscroll.js","position":74,"original_position":74,"commit_id":"b034de4ab1e8f69da94e52aa184f91027a67a1fe","original_commit_id":"b034de4ab1e8f69da94e52aa184f91027a67a1fe","user":{"login":"jeremenichelli","id":3856481,"avatar_url":"https://avatars.githubusercontent.com/u/3856481?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremenichelli","html_url":"https://github.com/jeremenichelli","followers_url":"https://api.github.com/users/jeremenichelli/followers","following_url":"https://api.github.com/users/jeremenichelli/following{/other_user}","gists_url":"https://api.github.com/users/jeremenichelli/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremenichelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremenichelli/subscriptions","organizations_url":"https://api.github.com/users/jeremenichelli/orgs","repos_url":"https://api.github.com/users/jeremenichelli/repos","events_url":"https://api.github.com/users/jeremenichelli/events{/privacy}","received_events_url":"https://api.github.com/users/jeremenichelli/received_events","type":"User","site_admin":false},"body":"Just had a chance to test this version and moving start and end variables to local scope and erasing this prevents the script from crashing  if you call ```window.scroll``` while there's other smooth scrolling going on :sparkles: :sparkles: ","created_at":"2015-06-18T20:20:33Z","updated_at":"2015-06-18T20:20:33Z","html_url":"https://github.com/iamdustan/smoothscroll/pull/14#discussion_r32773620","pull_request_url":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/comments/32773620"},"html":{"href":"https://github.com/iamdustan/smoothscroll/pull/14#discussion_r32773620"},"pull_request":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/14","id":37627041,"html_url":"https://github.com/iamdustan/smoothscroll/pull/14","diff_url":"https://github.com/iamdustan/smoothscroll/pull/14.diff","patch_url":"https://github.com/iamdustan/smoothscroll/pull/14.patch","issue_url":"https://api.github.com/repos/iamdustan/smoothscroll/issues/14","number":14,"state":"open","locked":false,"title":"Gulp build process added, json files updated, syntax corrections.","user":{"login":"jeremenichelli","id":3856481,"avatar_url":"https://avatars.githubusercontent.com/u/3856481?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremenichelli","html_url":"https://github.com/jeremenichelli","followers_url":"https://api.github.com/users/jeremenichelli/followers","following_url":"https://api.github.com/users/jeremenichelli/following{/other_user}","gists_url":"https://api.github.com/users/jeremenichelli/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremenichelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremenichelli/subscriptions","organizations_url":"https://api.github.com/users/jeremenichelli/orgs","repos_url":"https://api.github.com/users/jeremenichelli/repos","events_url":"https://api.github.com/users/jeremenichelli/events{/privacy}","received_events_url":"https://api.github.com/users/jeremenichelli/received_events","type":"User","site_admin":false},"body":"### NOTES\r\nAdded gulpfile to **uglify** and **concat** dist versions. Added **jscs** rules to improve syntax in src file. Added missing information in **package.json** and **bower.json** files. Small corrections in README. Erase grunt file. Update **.gitignore** file.","created_at":"2015-06-13T16:09:29Z","updated_at":"2015-06-18T20:20:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"293cf400bd3836410696d81836e6c2060bdd30e9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/14/commits","review_comments_url":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/14/comments","review_comment_url":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/comments{/number}","comments_url":"https://api.github.com/repos/iamdustan/smoothscroll/issues/14/comments","statuses_url":"https://api.github.com/repos/iamdustan/smoothscroll/statuses/b034de4ab1e8f69da94e52aa184f91027a67a1fe","head":{"label":"jeremenichelli:build-improvements","ref":"build-improvements","sha":"b034de4ab1e8f69da94e52aa184f91027a67a1fe","user":{"login":"jeremenichelli","id":3856481,"avatar_url":"https://avatars.githubusercontent.com/u/3856481?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremenichelli","html_url":"https://github.com/jeremenichelli","followers_url":"https://api.github.com/users/jeremenichelli/followers","following_url":"https://api.github.com/users/jeremenichelli/following{/other_user}","gists_url":"https://api.github.com/users/jeremenichelli/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremenichelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremenichelli/subscriptions","organizations_url":"https://api.github.com/users/jeremenichelli/orgs","repos_url":"https://api.github.com/users/jeremenichelli/repos","events_url":"https://api.github.com/users/jeremenichelli/events{/privacy}","received_events_url":"https://api.github.com/users/jeremenichelli/received_events","type":"User","site_admin":false},"repo":{"id":36532537,"name":"smoothscroll","full_name":"jeremenichelli/smoothscroll","owner":{"login":"jeremenichelli","id":3856481,"avatar_url":"https://avatars.githubusercontent.com/u/3856481?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremenichelli","html_url":"https://github.com/jeremenichelli","followers_url":"https://api.github.com/users/jeremenichelli/followers","following_url":"https://api.github.com/users/jeremenichelli/following{/other_user}","gists_url":"https://api.github.com/users/jeremenichelli/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremenichelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremenichelli/subscriptions","organizations_url":"https://api.github.com/users/jeremenichelli/orgs","repos_url":"https://api.github.com/users/jeremenichelli/repos","events_url":"https://api.github.com/users/jeremenichelli/events{/privacy}","received_events_url":"https://api.github.com/users/jeremenichelli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jeremenichelli/smoothscroll","description":"Polyfill for window.scrollTo(x, y, 'smooth');","fork":true,"url":"https://api.github.com/repos/jeremenichelli/smoothscroll","forks_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/forks","keys_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/teams","hooks_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/hooks","issue_events_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/issues/events{/number}","events_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/events","assignees_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/assignees{/user}","branches_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/branches{/branch}","tags_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/tags","blobs_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/git/refs{/sha}","trees_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/statuses/{sha}","languages_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/languages","stargazers_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/stargazers","contributors_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/contributors","subscribers_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/subscribers","subscription_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/subscription","commits_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/commits{/sha}","git_commits_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/git/commits{/sha}","comments_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/comments{/number}","issue_comment_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/issues/comments{/number}","contents_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/contents/{+path}","compare_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/merges","archive_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/downloads","issues_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/issues{/number}","pulls_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/pulls{/number}","milestones_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/milestones{/number}","notifications_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/labels{/name}","releases_url":"https://api.github.com/repos/jeremenichelli/smoothscroll/releases{/id}","created_at":"2015-05-29T22:33:37Z","updated_at":"2015-05-29T22:33:37Z","pushed_at":"2015-06-16T03:55:56Z","git_url":"git://github.com/jeremenichelli/smoothscroll.git","ssh_url":"git@github.com:jeremenichelli/smoothscroll.git","clone_url":"https://github.com/jeremenichelli/smoothscroll.git","svn_url":"https://github.com/jeremenichelli/smoothscroll","homepage":null,"size":122,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"master"}},"base":{"label":"iamdustan:master","ref":"master","sha":"b268f2647a1b843b8dda92200e108445b820ca44","user":{"login":"iamdustan","id":227879,"avatar_url":"https://avatars.githubusercontent.com/u/227879?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdustan","html_url":"https://github.com/iamdustan","followers_url":"https://api.github.com/users/iamdustan/followers","following_url":"https://api.github.com/users/iamdustan/following{/other_user}","gists_url":"https://api.github.com/users/iamdustan/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdustan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdustan/subscriptions","organizations_url":"https://api.github.com/users/iamdustan/orgs","repos_url":"https://api.github.com/users/iamdustan/repos","events_url":"https://api.github.com/users/iamdustan/events{/privacy}","received_events_url":"https://api.github.com/users/iamdustan/received_events","type":"User","site_admin":false},"repo":{"id":11966941,"name":"smoothscroll","full_name":"iamdustan/smoothscroll","owner":{"login":"iamdustan","id":227879,"avatar_url":"https://avatars.githubusercontent.com/u/227879?v=3","gravatar_id":"","url":"https://api.github.com/users/iamdustan","html_url":"https://github.com/iamdustan","followers_url":"https://api.github.com/users/iamdustan/followers","following_url":"https://api.github.com/users/iamdustan/following{/other_user}","gists_url":"https://api.github.com/users/iamdustan/gists{/gist_id}","starred_url":"https://api.github.com/users/iamdustan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iamdustan/subscriptions","organizations_url":"https://api.github.com/users/iamdustan/orgs","repos_url":"https://api.github.com/users/iamdustan/repos","events_url":"https://api.github.com/users/iamdustan/events{/privacy}","received_events_url":"https://api.github.com/users/iamdustan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/iamdustan/smoothscroll","description":"Polyfill for window.scrollTo(x, y, 'smooth');","fork":false,"url":"https://api.github.com/repos/iamdustan/smoothscroll","forks_url":"https://api.github.com/repos/iamdustan/smoothscroll/forks","keys_url":"https://api.github.com/repos/iamdustan/smoothscroll/keys{/key_id}","collaborators_url":"https://api.github.com/repos/iamdustan/smoothscroll/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/iamdustan/smoothscroll/teams","hooks_url":"https://api.github.com/repos/iamdustan/smoothscroll/hooks","issue_events_url":"https://api.github.com/repos/iamdustan/smoothscroll/issues/events{/number}","events_url":"https://api.github.com/repos/iamdustan/smoothscroll/events","assignees_url":"https://api.github.com/repos/iamdustan/smoothscroll/assignees{/user}","branches_url":"https://api.github.com/repos/iamdustan/smoothscroll/branches{/branch}","tags_url":"https://api.github.com/repos/iamdustan/smoothscroll/tags","blobs_url":"https://api.github.com/repos/iamdustan/smoothscroll/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/iamdustan/smoothscroll/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/iamdustan/smoothscroll/git/refs{/sha}","trees_url":"https://api.github.com/repos/iamdustan/smoothscroll/git/trees{/sha}","statuses_url":"https://api.github.com/repos/iamdustan/smoothscroll/statuses/{sha}","languages_url":"https://api.github.com/repos/iamdustan/smoothscroll/languages","stargazers_url":"https://api.github.com/repos/iamdustan/smoothscroll/stargazers","contributors_url":"https://api.github.com/repos/iamdustan/smoothscroll/contributors","subscribers_url":"https://api.github.com/repos/iamdustan/smoothscroll/subscribers","subscription_url":"https://api.github.com/repos/iamdustan/smoothscroll/subscription","commits_url":"https://api.github.com/repos/iamdustan/smoothscroll/commits{/sha}","git_commits_url":"https://api.github.com/repos/iamdustan/smoothscroll/git/commits{/sha}","comments_url":"https://api.github.com/repos/iamdustan/smoothscroll/comments{/number}","issue_comment_url":"https://api.github.com/repos/iamdustan/smoothscroll/issues/comments{/number}","contents_url":"https://api.github.com/repos/iamdustan/smoothscroll/contents/{+path}","compare_url":"https://api.github.com/repos/iamdustan/smoothscroll/compare/{base}...{head}","merges_url":"https://api.github.com/repos/iamdustan/smoothscroll/merges","archive_url":"https://api.github.com/repos/iamdustan/smoothscroll/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/iamdustan/smoothscroll/downloads","issues_url":"https://api.github.com/repos/iamdustan/smoothscroll/issues{/number}","pulls_url":"https://api.github.com/repos/iamdustan/smoothscroll/pulls{/number}","milestones_url":"https://api.github.com/repos/iamdustan/smoothscroll/milestones{/number}","notifications_url":"https://api.github.com/repos/iamdustan/smoothscroll/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/iamdustan/smoothscroll/labels{/name}","releases_url":"https://api.github.com/repos/iamdustan/smoothscroll/releases{/id}","created_at":"2013-08-08T03:41:53Z","updated_at":"2015-06-16T14:18:15Z","pushed_at":"2015-06-16T03:55:57Z","git_url":"git://github.com/iamdustan/smoothscroll.git","ssh_url":"git@github.com:iamdustan/smoothscroll.git","clone_url":"https://github.com/iamdustan/smoothscroll.git","svn_url":"https://github.com/iamdustan/smoothscroll","homepage":null,"size":360,"stargazers_count":32,"watchers_count":32,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":5,"forks":4,"open_issues":5,"watchers":32,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/14"},"html":{"href":"https://github.com/iamdustan/smoothscroll/pull/14"},"issue":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/issues/14"},"comments":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/iamdustan/smoothscroll/statuses/b034de4ab1e8f69da94e52aa184f91027a67a1fe"}}}}