{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/pulse/pulls/comments/100087063","pull_request_review_id":20781640,"id":100087063,"diff_hunk":"@@ -0,0 +1,8 @@\n+const listener = document.addEventListener('pulse-send-pagemonitor', evt => {","path":"src/data/timer-first-interaction.js","position":1,"original_position":1,"commit_id":"31a1827d1d10d06fd27459c1966118c1cd3fb595","original_commit_id":"31a1827d1d10d06fd27459c1966118c1cd3fb595","user":{"login":"lmorchard","id":21687,"avatar_url":"https://avatars.githubusercontent.com/u/21687?v=3","gravatar_id":"","url":"https://api.github.com/users/lmorchard","html_url":"https://github.com/lmorchard","followers_url":"https://api.github.com/users/lmorchard/followers","following_url":"https://api.github.com/users/lmorchard/following{/other_user}","gists_url":"https://api.github.com/users/lmorchard/gists{/gist_id}","starred_url":"https://api.github.com/users/lmorchard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmorchard/subscriptions","organizations_url":"https://api.github.com/users/lmorchard/orgs","repos_url":"https://api.github.com/users/lmorchard/repos","events_url":"https://api.github.com/users/lmorchard/events{/privacy}","received_events_url":"https://api.github.com/users/lmorchard/received_events","type":"User","site_admin":false},"body":"This module's overall pattern seems to repeat a lot. Might be nice to abstract into a shared utility function if possible. Can't remember if these scripts are getting run through webpack, though.","created_at":"2017-02-08T15:13:48Z","updated_at":"2017-02-08T15:13:48Z","html_url":"https://github.com/mozilla/pulse/pull/88#discussion_r100087063","pull_request_url":"https://api.github.com/repos/mozilla/pulse/pulls/88","_links":{"self":{"href":"https://api.github.com/repos/mozilla/pulse/pulls/comments/100087063"},"html":{"href":"https://github.com/mozilla/pulse/pull/88#discussion_r100087063"},"pull_request":{"href":"https://api.github.com/repos/mozilla/pulse/pulls/88"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/pulse/pulls/88","id":105147254,"html_url":"https://github.com/mozilla/pulse/pull/88","diff_url":"https://github.com/mozilla/pulse/pull/88.diff","patch_url":"https://github.com/mozilla/pulse/pull/88.patch","issue_url":"https://api.github.com/repos/mozilla/pulse/issues/88","number":88,"state":"open","locked":false,"title":"Adds timer measurements to reports.","user":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"body":"* Adds time to DOMContentLoaded to reports (closes #30).\r\n* Adds time to window.load to reports (closes #31).\r\n* Adds time to first paint to reports (closes #32).\r\n* Adds time to first interaction to reports (closes #34).\r\n* Adds timestamp to reports (closes #38).","created_at":"2017-02-08T04:29:14Z","updated_at":"2017-02-08T15:13:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f728da5813470e7d999e48ceadc2dfbe2f46efdb","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/pulse/pulls/88/commits","review_comments_url":"https://api.github.com/repos/mozilla/pulse/pulls/88/comments","review_comment_url":"https://api.github.com/repos/mozilla/pulse/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/pulse/issues/88/comments","statuses_url":"https://api.github.com/repos/mozilla/pulse/statuses/31a1827d1d10d06fd27459c1966118c1cd3fb595","head":{"label":"chuckharmston:timers","ref":"timers","sha":"31a1827d1d10d06fd27459c1966118c1cd3fb595","user":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"repo":{"id":77941278,"name":"pulse","full_name":"chuckharmston/pulse","owner":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chuckharmston/pulse","description":null,"fork":true,"url":"https://api.github.com/repos/chuckharmston/pulse","forks_url":"https://api.github.com/repos/chuckharmston/pulse/forks","keys_url":"https://api.github.com/repos/chuckharmston/pulse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chuckharmston/pulse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chuckharmston/pulse/teams","hooks_url":"https://api.github.com/repos/chuckharmston/pulse/hooks","issue_events_url":"https://api.github.com/repos/chuckharmston/pulse/issues/events{/number}","events_url":"https://api.github.com/repos/chuckharmston/pulse/events","assignees_url":"https://api.github.com/repos/chuckharmston/pulse/assignees{/user}","branches_url":"https://api.github.com/repos/chuckharmston/pulse/branches{/branch}","tags_url":"https://api.github.com/repos/chuckharmston/pulse/tags","blobs_url":"https://api.github.com/repos/chuckharmston/pulse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chuckharmston/pulse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chuckharmston/pulse/git/refs{/sha}","trees_url":"https://api.github.com/repos/chuckharmston/pulse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chuckharmston/pulse/statuses/{sha}","languages_url":"https://api.github.com/repos/chuckharmston/pulse/languages","stargazers_url":"https://api.github.com/repos/chuckharmston/pulse/stargazers","contributors_url":"https://api.github.com/repos/chuckharmston/pulse/contributors","subscribers_url":"https://api.github.com/repos/chuckharmston/pulse/subscribers","subscription_url":"https://api.github.com/repos/chuckharmston/pulse/subscription","commits_url":"https://api.github.com/repos/chuckharmston/pulse/commits{/sha}","git_commits_url":"https://api.github.com/repos/chuckharmston/pulse/git/commits{/sha}","comments_url":"https://api.github.com/repos/chuckharmston/pulse/comments{/number}","issue_comment_url":"https://api.github.com/repos/chuckharmston/pulse/issues/comments{/number}","contents_url":"https://api.github.com/repos/chuckharmston/pulse/contents/{+path}","compare_url":"https://api.github.com/repos/chuckharmston/pulse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chuckharmston/pulse/merges","archive_url":"https://api.github.com/repos/chuckharmston/pulse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chuckharmston/pulse/downloads","issues_url":"https://api.github.com/repos/chuckharmston/pulse/issues{/number}","pulls_url":"https://api.github.com/repos/chuckharmston/pulse/pulls{/number}","milestones_url":"https://api.github.com/repos/chuckharmston/pulse/milestones{/number}","notifications_url":"https://api.github.com/repos/chuckharmston/pulse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chuckharmston/pulse/labels{/name}","releases_url":"https://api.github.com/repos/chuckharmston/pulse/releases{/id}","deployments_url":"https://api.github.com/repos/chuckharmston/pulse/deployments","created_at":"2017-01-03T18:11:49Z","updated_at":"2017-01-03T18:11:50Z","pushed_at":"2017-02-08T06:27:12Z","git_url":"git://github.com/chuckharmston/pulse.git","ssh_url":"git@github.com:chuckharmston/pulse.git","clone_url":"https://github.com/chuckharmston/pulse.git","svn_url":"https://github.com/chuckharmston/pulse","homepage":null,"size":154,"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":"mozilla:master","ref":"master","sha":"a36d4dfca74f62fa50da7ead0c339650ac547b91","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":77941193,"name":"pulse","full_name":"mozilla/pulse","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/pulse","description":null,"fork":false,"url":"https://api.github.com/repos/mozilla/pulse","forks_url":"https://api.github.com/repos/mozilla/pulse/forks","keys_url":"https://api.github.com/repos/mozilla/pulse/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/pulse/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/pulse/teams","hooks_url":"https://api.github.com/repos/mozilla/pulse/hooks","issue_events_url":"https://api.github.com/repos/mozilla/pulse/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/pulse/events","assignees_url":"https://api.github.com/repos/mozilla/pulse/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/pulse/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/pulse/tags","blobs_url":"https://api.github.com/repos/mozilla/pulse/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/pulse/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/pulse/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/pulse/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/pulse/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/pulse/languages","stargazers_url":"https://api.github.com/repos/mozilla/pulse/stargazers","contributors_url":"https://api.github.com/repos/mozilla/pulse/contributors","subscribers_url":"https://api.github.com/repos/mozilla/pulse/subscribers","subscription_url":"https://api.github.com/repos/mozilla/pulse/subscription","commits_url":"https://api.github.com/repos/mozilla/pulse/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/pulse/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/pulse/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/pulse/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/pulse/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/pulse/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/pulse/merges","archive_url":"https://api.github.com/repos/mozilla/pulse/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/pulse/downloads","issues_url":"https://api.github.com/repos/mozilla/pulse/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/pulse/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/pulse/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/pulse/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/pulse/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/pulse/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/pulse/deployments","created_at":"2017-01-03T18:10:37Z","updated_at":"2017-01-03T18:11:34Z","pushed_at":"2017-02-08T04:44:33Z","git_url":"git://github.com/mozilla/pulse.git","ssh_url":"git@github.com:mozilla/pulse.git","clone_url":"https://github.com/mozilla/pulse.git","svn_url":"https://github.com/mozilla/pulse","homepage":null,"size":121,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":40,"forks":3,"open_issues":40,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/pulse/pulls/88"},"html":{"href":"https://github.com/mozilla/pulse/pull/88"},"issue":{"href":"https://api.github.com/repos/mozilla/pulse/issues/88"},"comments":{"href":"https://api.github.com/repos/mozilla/pulse/issues/88/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/pulse/pulls/88/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/pulse/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/pulse/pulls/88/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/pulse/statuses/31a1827d1d10d06fd27459c1966118c1cd3fb595"}}}}
{"actor":{"display_login":"lmorchard"}}