{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/n-image/pulls/comments/82348584","pull_request_review_id":3262766,"id":82348584,"diff_hunk":"@@ -1,18 +1,72 @@\n const lazyLoadingModifier = 'lazy-loading';\n const lazyLoadingImageClass = `n-image--${lazyLoadingModifier}`;\n const lazyLoadingWrapperClass = `n-image-wrapper--${lazyLoadingModifier}`;\n+const performanceSupported = ('performance' in window && typeof window.performance.mark === 'function');\n+\n+const uid = () => (Date.now() * Math.random()).toString(16);","path":"src/lib/lazy-load.js","position":6,"original_position":6,"commit_id":"ac0a62db3bb203994f77b6e3e6f50aaab3c435bd","original_commit_id":"ac0a62db3bb203994f77b6e3e6f50aaab3c435bd","user":{"login":"ironsidevsquincy","id":74132,"avatar_url":"https://avatars.githubusercontent.com/u/74132?v=3","gravatar_id":"","url":"https://api.github.com/users/ironsidevsquincy","html_url":"https://github.com/ironsidevsquincy","followers_url":"https://api.github.com/users/ironsidevsquincy/followers","following_url":"https://api.github.com/users/ironsidevsquincy/following{/other_user}","gists_url":"https://api.github.com/users/ironsidevsquincy/gists{/gist_id}","starred_url":"https://api.github.com/users/ironsidevsquincy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ironsidevsquincy/subscriptions","organizations_url":"https://api.github.com/users/ironsidevsquincy/orgs","repos_url":"https://api.github.com/users/ironsidevsquincy/repos","events_url":"https://api.github.com/users/ironsidevsquincy/events{/privacy}","received_events_url":"https://api.github.com/users/ironsidevsquincy/received_events","type":"User","site_admin":false},"body":"should all these be `uuid` (rather than `uid`)?","created_at":"2016-10-07T08:33:32Z","updated_at":"2016-10-07T08:33:32Z","html_url":"https://github.com/Financial-Times/n-image/pull/41#discussion_r82348584","pull_request_url":"https://api.github.com/repos/Financial-Times/n-image/pulls/41","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/comments/82348584"},"html":{"href":"https://github.com/Financial-Times/n-image/pull/41#discussion_r82348584"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/41"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/n-image/pulls/41","id":88333357,"html_url":"https://github.com/Financial-Times/n-image/pull/41","diff_url":"https://github.com/Financial-Times/n-image/pull/41.diff","patch_url":"https://github.com/Financial-Times/n-image/pull/41.patch","issue_url":"https://api.github.com/repos/Financial-Times/n-image/issues/41","number":41,"state":"open","locked":false,"title":"Report lazyload timings and send to beacon","user":{"login":"aintgoin2goa","id":18816,"avatar_url":"https://avatars.githubusercontent.com/u/18816?v=3","gravatar_id":"","url":"https://api.github.com/users/aintgoin2goa","html_url":"https://github.com/aintgoin2goa","followers_url":"https://api.github.com/users/aintgoin2goa/followers","following_url":"https://api.github.com/users/aintgoin2goa/following{/other_user}","gists_url":"https://api.github.com/users/aintgoin2goa/gists{/gist_id}","starred_url":"https://api.github.com/users/aintgoin2goa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aintgoin2goa/subscriptions","organizations_url":"https://api.github.com/users/aintgoin2goa/orgs","repos_url":"https://api.github.com/users/aintgoin2goa/repos","events_url":"https://api.github.com/users/aintgoin2goa/events{/privacy}","received_events_url":"https://api.github.com/users/aintgoin2goa/received_events","type":"User","site_admin":false},"body":"@ironsidevsquincy @wheresrhys \r\n\r\nI think this will work, but not 100% sure if I've done the right thing","created_at":"2016-10-06T20:18:18Z","updated_at":"2016-10-07T08:35:52Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9869ed18766053d2d4991544c609b3a991250bc","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/n-image/pulls/41/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/n-image/pulls/41/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/n-image/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/n-image/issues/41/comments","statuses_url":"https://api.github.com/repos/Financial-Times/n-image/statuses/ac0a62db3bb203994f77b6e3e6f50aaab3c435bd","head":{"label":"Financial-Times:report-lazyload-timings","ref":"report-lazyload-timings","sha":"ac0a62db3bb203994f77b6e3e6f50aaab3c435bd","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":39016244,"name":"n-image","full_name":"Financial-Times/n-image","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/n-image","description":"Next responsive image component","fork":false,"url":"https://api.github.com/repos/Financial-Times/n-image","forks_url":"https://api.github.com/repos/Financial-Times/n-image/forks","keys_url":"https://api.github.com/repos/Financial-Times/n-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/n-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/n-image/teams","hooks_url":"https://api.github.com/repos/Financial-Times/n-image/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/n-image/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/n-image/events","assignees_url":"https://api.github.com/repos/Financial-Times/n-image/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/n-image/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/n-image/tags","blobs_url":"https://api.github.com/repos/Financial-Times/n-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/n-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/n-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/n-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/n-image/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/n-image/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/n-image/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/n-image/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/n-image/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/n-image/subscription","commits_url":"https://api.github.com/repos/Financial-Times/n-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/n-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/n-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/n-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/n-image/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/n-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/n-image/merges","archive_url":"https://api.github.com/repos/Financial-Times/n-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/n-image/downloads","issues_url":"https://api.github.com/repos/Financial-Times/n-image/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/n-image/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/n-image/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/n-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/n-image/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/n-image/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/n-image/deployments","created_at":"2015-07-13T14:14:17Z","updated_at":"2016-02-05T00:47:47Z","pushed_at":"2016-10-06T20:18:19Z","git_url":"git://github.com/Financial-Times/n-image.git","ssh_url":"git@github.com:Financial-Times/n-image.git","clone_url":"https://github.com/Financial-Times/n-image.git","svn_url":"https://github.com/Financial-Times/n-image","homepage":null,"size":104,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":2,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"053dc29704d95f73f866d710144493d319a107c9","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":39016244,"name":"n-image","full_name":"Financial-Times/n-image","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/n-image","description":"Next responsive image component","fork":false,"url":"https://api.github.com/repos/Financial-Times/n-image","forks_url":"https://api.github.com/repos/Financial-Times/n-image/forks","keys_url":"https://api.github.com/repos/Financial-Times/n-image/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/n-image/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/n-image/teams","hooks_url":"https://api.github.com/repos/Financial-Times/n-image/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/n-image/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/n-image/events","assignees_url":"https://api.github.com/repos/Financial-Times/n-image/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/n-image/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/n-image/tags","blobs_url":"https://api.github.com/repos/Financial-Times/n-image/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/n-image/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/n-image/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/n-image/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/n-image/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/n-image/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/n-image/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/n-image/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/n-image/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/n-image/subscription","commits_url":"https://api.github.com/repos/Financial-Times/n-image/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/n-image/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/n-image/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/n-image/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/n-image/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/n-image/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/n-image/merges","archive_url":"https://api.github.com/repos/Financial-Times/n-image/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/n-image/downloads","issues_url":"https://api.github.com/repos/Financial-Times/n-image/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/n-image/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/n-image/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/n-image/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/n-image/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/n-image/releases{/id}","deployments_url":"https://api.github.com/repos/Financial-Times/n-image/deployments","created_at":"2015-07-13T14:14:17Z","updated_at":"2016-02-05T00:47:47Z","pushed_at":"2016-10-06T20:18:19Z","git_url":"git://github.com/Financial-Times/n-image.git","ssh_url":"git@github.com:Financial-Times/n-image.git","clone_url":"https://github.com/Financial-Times/n-image.git","svn_url":"https://github.com/Financial-Times/n-image","homepage":null,"size":104,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":6,"forks":0,"open_issues":6,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/41"},"html":{"href":"https://github.com/Financial-Times/n-image/pull/41"},"issue":{"href":"https://api.github.com/repos/Financial-Times/n-image/issues/41"},"comments":{"href":"https://api.github.com/repos/Financial-Times/n-image/issues/41/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/41/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/n-image/pulls/41/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/n-image/statuses/ac0a62db3bb203994f77b6e3e6f50aaab3c435bd"}}}}
{"actor":{"display_login":"ironsidevsquincy"}}