{"action":"created","comment":{"url":"https://api.github.com/repos/everydayhero/hui/pulls/comments/76892688","id":76892688,"diff_hunk":"@@ -0,0 +1,24 @@\n+export const scrollTo = (element, to, duration) => {\n+  if (duration <= 0) return\n+  const difference = to - element.scrollTop;\n+  const perTick = difference / duration * 16\n+\n+  window.requestAnimationFrame(() => {\n+    element.scrollTop = element.scrollTop + perTick\n+    if (element.scrollTop === to) return\n+    scrollTo(element, to, duration - 16)\n+  })\n+}\n+\n+export const urlQuery = ((q) => {\n+  if (q === '') return {}","path":"lib/pageUtils.js","position":14,"original_position":14,"commit_id":"82cd2818e29840c290fa7d02b1a97aaa487ff04b","original_commit_id":"82cd2818e29840c290fa7d02b1a97aaa487ff04b","user":{"login":"aabrook","id":12283603,"avatar_url":"https://avatars.githubusercontent.com/u/12283603?v=3","gravatar_id":"","url":"https://api.github.com/users/aabrook","html_url":"https://github.com/aabrook","followers_url":"https://api.github.com/users/aabrook/followers","following_url":"https://api.github.com/users/aabrook/following{/other_user}","gists_url":"https://api.github.com/users/aabrook/gists{/gist_id}","starred_url":"https://api.github.com/users/aabrook/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aabrook/subscriptions","organizations_url":"https://api.github.com/users/aabrook/orgs","repos_url":"https://api.github.com/users/aabrook/repos","events_url":"https://api.github.com/users/aabrook/events{/privacy}","received_events_url":"https://api.github.com/users/aabrook/received_events","type":"User","site_admin":false},"body":"q is an array, this will never evaluate to true","created_at":"2016-08-30T22:35:04Z","updated_at":"2016-08-30T22:35:04Z","html_url":"https://github.com/everydayhero/hui/pull/381#discussion_r76892688","pull_request_url":"https://api.github.com/repos/everydayhero/hui/pulls/381","_links":{"self":{"href":"https://api.github.com/repos/everydayhero/hui/pulls/comments/76892688"},"html":{"href":"https://github.com/everydayhero/hui/pull/381#discussion_r76892688"},"pull_request":{"href":"https://api.github.com/repos/everydayhero/hui/pulls/381"}}},"pull_request":{"url":"https://api.github.com/repos/everydayhero/hui/pulls/381","id":83205810,"html_url":"https://github.com/everydayhero/hui/pull/381","diff_url":"https://github.com/everydayhero/hui/pull/381.diff","patch_url":"https://github.com/everydayhero/hui/pull/381.patch","issue_url":"https://api.github.com/repos/everydayhero/hui/issues/381","number":381,"state":"open","locked":false,"title":"Import fitness activity generic components and refactor event binding","user":{"login":"benoneal","id":4063875,"avatar_url":"https://avatars.githubusercontent.com/u/4063875?v=3","gravatar_id":"","url":"https://api.github.com/users/benoneal","html_url":"https://github.com/benoneal","followers_url":"https://api.github.com/users/benoneal/followers","following_url":"https://api.github.com/users/benoneal/following{/other_user}","gists_url":"https://api.github.com/users/benoneal/gists{/gist_id}","starred_url":"https://api.github.com/users/benoneal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benoneal/subscriptions","organizations_url":"https://api.github.com/users/benoneal/orgs","repos_url":"https://api.github.com/users/benoneal/repos","events_url":"https://api.github.com/users/benoneal/events{/privacy}","received_events_url":"https://api.github.com/users/benoneal/received_events","type":"User","site_admin":false},"body":"Included: \r\n- Several new components\r\n- Latest lodash\r\n- Refactored event handling\r\n- CXS and the beginnings of css traits. \r\n- Enzyme for testing functional components\r\n\r\n- [x] Ready for review\r\n- [x] Ready for merge\r\n\r\n![image](https://cloud.githubusercontent.com/assets/4063875/18075744/f803dc84-6eba-11e6-8093-55a9045f801e.png)\r\n","created_at":"2016-08-30T04:14:08Z","updated_at":"2016-08-30T22:35:04Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3648db505bb5046c403299528c787d13ddfa8a6b","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/everydayhero/hui/pulls/381/commits","review_comments_url":"https://api.github.com/repos/everydayhero/hui/pulls/381/comments","review_comment_url":"https://api.github.com/repos/everydayhero/hui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everydayhero/hui/issues/381/comments","statuses_url":"https://api.github.com/repos/everydayhero/hui/statuses/82cd2818e29840c290fa7d02b1a97aaa487ff04b","head":{"label":"everydayhero:topic/import-fitness-activity-generic-components","ref":"topic/import-fitness-activity-generic-components","sha":"82cd2818e29840c290fa7d02b1a97aaa487ff04b","user":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"repo":{"id":30229326,"name":"hui","full_name":"everydayhero/hui","owner":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everydayhero/hui","description":"EDH UI library to share layout and base components between applications.","fork":false,"url":"https://api.github.com/repos/everydayhero/hui","forks_url":"https://api.github.com/repos/everydayhero/hui/forks","keys_url":"https://api.github.com/repos/everydayhero/hui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everydayhero/hui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everydayhero/hui/teams","hooks_url":"https://api.github.com/repos/everydayhero/hui/hooks","issue_events_url":"https://api.github.com/repos/everydayhero/hui/issues/events{/number}","events_url":"https://api.github.com/repos/everydayhero/hui/events","assignees_url":"https://api.github.com/repos/everydayhero/hui/assignees{/user}","branches_url":"https://api.github.com/repos/everydayhero/hui/branches{/branch}","tags_url":"https://api.github.com/repos/everydayhero/hui/tags","blobs_url":"https://api.github.com/repos/everydayhero/hui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everydayhero/hui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everydayhero/hui/git/refs{/sha}","trees_url":"https://api.github.com/repos/everydayhero/hui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everydayhero/hui/statuses/{sha}","languages_url":"https://api.github.com/repos/everydayhero/hui/languages","stargazers_url":"https://api.github.com/repos/everydayhero/hui/stargazers","contributors_url":"https://api.github.com/repos/everydayhero/hui/contributors","subscribers_url":"https://api.github.com/repos/everydayhero/hui/subscribers","subscription_url":"https://api.github.com/repos/everydayhero/hui/subscription","commits_url":"https://api.github.com/repos/everydayhero/hui/commits{/sha}","git_commits_url":"https://api.github.com/repos/everydayhero/hui/git/commits{/sha}","comments_url":"https://api.github.com/repos/everydayhero/hui/comments{/number}","issue_comment_url":"https://api.github.com/repos/everydayhero/hui/issues/comments{/number}","contents_url":"https://api.github.com/repos/everydayhero/hui/contents/{+path}","compare_url":"https://api.github.com/repos/everydayhero/hui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everydayhero/hui/merges","archive_url":"https://api.github.com/repos/everydayhero/hui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everydayhero/hui/downloads","issues_url":"https://api.github.com/repos/everydayhero/hui/issues{/number}","pulls_url":"https://api.github.com/repos/everydayhero/hui/pulls{/number}","milestones_url":"https://api.github.com/repos/everydayhero/hui/milestones{/number}","notifications_url":"https://api.github.com/repos/everydayhero/hui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everydayhero/hui/labels{/name}","releases_url":"https://api.github.com/repos/everydayhero/hui/releases{/id}","deployments_url":"https://api.github.com/repos/everydayhero/hui/deployments","created_at":"2015-02-03T06:46:39Z","updated_at":"2016-01-12T03:19:17Z","pushed_at":"2016-08-30T07:00:30Z","git_url":"git://github.com/everydayhero/hui.git","ssh_url":"git@github.com:everydayhero/hui.git","clone_url":"https://github.com/everydayhero/hui.git","svn_url":"https://github.com/everydayhero/hui","homepage":null,"size":6305,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":1,"default_branch":"master"}},"base":{"label":"everydayhero:master","ref":"master","sha":"57c5c5cca14065d877bed2aecbdf5a5022d8cef0","user":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"repo":{"id":30229326,"name":"hui","full_name":"everydayhero/hui","owner":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everydayhero/hui","description":"EDH UI library to share layout and base components between applications.","fork":false,"url":"https://api.github.com/repos/everydayhero/hui","forks_url":"https://api.github.com/repos/everydayhero/hui/forks","keys_url":"https://api.github.com/repos/everydayhero/hui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everydayhero/hui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everydayhero/hui/teams","hooks_url":"https://api.github.com/repos/everydayhero/hui/hooks","issue_events_url":"https://api.github.com/repos/everydayhero/hui/issues/events{/number}","events_url":"https://api.github.com/repos/everydayhero/hui/events","assignees_url":"https://api.github.com/repos/everydayhero/hui/assignees{/user}","branches_url":"https://api.github.com/repos/everydayhero/hui/branches{/branch}","tags_url":"https://api.github.com/repos/everydayhero/hui/tags","blobs_url":"https://api.github.com/repos/everydayhero/hui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everydayhero/hui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everydayhero/hui/git/refs{/sha}","trees_url":"https://api.github.com/repos/everydayhero/hui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everydayhero/hui/statuses/{sha}","languages_url":"https://api.github.com/repos/everydayhero/hui/languages","stargazers_url":"https://api.github.com/repos/everydayhero/hui/stargazers","contributors_url":"https://api.github.com/repos/everydayhero/hui/contributors","subscribers_url":"https://api.github.com/repos/everydayhero/hui/subscribers","subscription_url":"https://api.github.com/repos/everydayhero/hui/subscription","commits_url":"https://api.github.com/repos/everydayhero/hui/commits{/sha}","git_commits_url":"https://api.github.com/repos/everydayhero/hui/git/commits{/sha}","comments_url":"https://api.github.com/repos/everydayhero/hui/comments{/number}","issue_comment_url":"https://api.github.com/repos/everydayhero/hui/issues/comments{/number}","contents_url":"https://api.github.com/repos/everydayhero/hui/contents/{+path}","compare_url":"https://api.github.com/repos/everydayhero/hui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everydayhero/hui/merges","archive_url":"https://api.github.com/repos/everydayhero/hui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everydayhero/hui/downloads","issues_url":"https://api.github.com/repos/everydayhero/hui/issues{/number}","pulls_url":"https://api.github.com/repos/everydayhero/hui/pulls{/number}","milestones_url":"https://api.github.com/repos/everydayhero/hui/milestones{/number}","notifications_url":"https://api.github.com/repos/everydayhero/hui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everydayhero/hui/labels{/name}","releases_url":"https://api.github.com/repos/everydayhero/hui/releases{/id}","deployments_url":"https://api.github.com/repos/everydayhero/hui/deployments","created_at":"2015-02-03T06:46:39Z","updated_at":"2016-01-12T03:19:17Z","pushed_at":"2016-08-30T07:00:30Z","git_url":"git://github.com/everydayhero/hui.git","ssh_url":"git@github.com:everydayhero/hui.git","clone_url":"https://github.com/everydayhero/hui.git","svn_url":"https://github.com/everydayhero/hui","homepage":null,"size":6305,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":15,"forks":1,"open_issues":15,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everydayhero/hui/pulls/381"},"html":{"href":"https://github.com/everydayhero/hui/pull/381"},"issue":{"href":"https://api.github.com/repos/everydayhero/hui/issues/381"},"comments":{"href":"https://api.github.com/repos/everydayhero/hui/issues/381/comments"},"review_comments":{"href":"https://api.github.com/repos/everydayhero/hui/pulls/381/comments"},"review_comment":{"href":"https://api.github.com/repos/everydayhero/hui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everydayhero/hui/pulls/381/commits"},"statuses":{"href":"https://api.github.com/repos/everydayhero/hui/statuses/82cd2818e29840c290fa7d02b1a97aaa487ff04b"}}}}
{"actor":{"display_login":"aabrook"}}