{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments/47951029","id":47951029,"diff_hunk":"@@ -0,0 +1,21 @@\n+describe('Page Visibility API', function () {","path":"polyfills/PageVisibility/tests.js","position":1,"original_position":1,"commit_id":"d44489c6793e04d45881ca89b143ff8ae1a93b6f","original_commit_id":"d44489c6793e04d45881ca89b143ff8ae1a93b6f","user":{"login":"triblondon","id":1735391,"avatar_url":"https://avatars.githubusercontent.com/u/1735391?v=3","gravatar_id":"","url":"https://api.github.com/users/triblondon","html_url":"https://github.com/triblondon","followers_url":"https://api.github.com/users/triblondon/followers","following_url":"https://api.github.com/users/triblondon/following{/other_user}","gists_url":"https://api.github.com/users/triblondon/gists{/gist_id}","starred_url":"https://api.github.com/users/triblondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triblondon/subscriptions","organizations_url":"https://api.github.com/users/triblondon/orgs","repos_url":"https://api.github.com/users/triblondon/repos","events_url":"https://api.github.com/users/triblondon/events{/privacy}","received_events_url":"https://api.github.com/users/triblondon/received_events","type":"User","site_admin":false},"body":"No need for this wrapper.","created_at":"2015-12-17T19:41:12Z","updated_at":"2015-12-17T19:41:12Z","html_url":"https://github.com/Financial-Times/polyfill-service/pull/536#discussion_r47951029","pull_request_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/536","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments/47951029"},"html":{"href":"https://github.com/Financial-Times/polyfill-service/pull/536#discussion_r47951029"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/536"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/536","id":52693729,"html_url":"https://github.com/Financial-Times/polyfill-service/pull/536","diff_url":"https://github.com/Financial-Times/polyfill-service/pull/536.diff","patch_url":"https://github.com/Financial-Times/polyfill-service/pull/536.patch","issue_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/536","number":536,"state":"open","locked":false,"title":"polyfilling page visibility api","user":{"login":"wheresrhys","id":447559,"avatar_url":"https://avatars.githubusercontent.com/u/447559?v=3","gravatar_id":"","url":"https://api.github.com/users/wheresrhys","html_url":"https://github.com/wheresrhys","followers_url":"https://api.github.com/users/wheresrhys/followers","following_url":"https://api.github.com/users/wheresrhys/following{/other_user}","gists_url":"https://api.github.com/users/wheresrhys/gists{/gist_id}","starred_url":"https://api.github.com/users/wheresrhys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheresrhys/subscriptions","organizations_url":"https://api.github.com/users/wheresrhys/orgs","repos_url":"https://api.github.com/users/wheresrhys/repos","events_url":"https://api.github.com/users/wheresrhys/events{/privacy}","received_events_url":"https://api.github.com/users/wheresrhys/received_events","type":"User","site_admin":false},"body":"Difficult to write tests for\r\nAs these are read only properties d'you think I should do more to guard against errors?\r\n@triblondon ","created_at":"2015-12-04T16:56:39Z","updated_at":"2015-12-17T19:41:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e4e9b39a9a5b3c60039ce0dd34099fa3c720915f","assignee":{"login":"wheresrhys","id":447559,"avatar_url":"https://avatars.githubusercontent.com/u/447559?v=3","gravatar_id":"","url":"https://api.github.com/users/wheresrhys","html_url":"https://github.com/wheresrhys","followers_url":"https://api.github.com/users/wheresrhys/followers","following_url":"https://api.github.com/users/wheresrhys/following{/other_user}","gists_url":"https://api.github.com/users/wheresrhys/gists{/gist_id}","starred_url":"https://api.github.com/users/wheresrhys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wheresrhys/subscriptions","organizations_url":"https://api.github.com/users/wheresrhys/orgs","repos_url":"https://api.github.com/users/wheresrhys/repos","events_url":"https://api.github.com/users/wheresrhys/events{/privacy}","received_events_url":"https://api.github.com/users/wheresrhys/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/536/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/536/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/536/comments","statuses_url":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/d44489c6793e04d45881ca89b143ff8ae1a93b6f","head":{"label":"Financial-Times:visibility","ref":"visibility","sha":"d44489c6793e04d45881ca89b143ff8ae1a93b6f","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":21244924,"name":"polyfill-service","full_name":"Financial-Times/polyfill-service","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/polyfill-service","description":"Automatic polyfill service","fork":false,"url":"https://api.github.com/repos/Financial-Times/polyfill-service","forks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/forks","keys_url":"https://api.github.com/repos/Financial-Times/polyfill-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/polyfill-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/polyfill-service/teams","hooks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/events","assignees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/polyfill-service/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/tags","blobs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/polyfill-service/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscription","commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/polyfill-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/polyfill-service/merges","archive_url":"https://api.github.com/repos/Financial-Times/polyfill-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/polyfill-service/downloads","issues_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/polyfill-service/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/polyfill-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/polyfill-service/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/polyfill-service/releases{/id}","created_at":"2014-06-26T15:09:49Z","updated_at":"2015-12-17T19:17:42Z","pushed_at":"2015-12-17T13:10:58Z","git_url":"git://github.com/Financial-Times/polyfill-service.git","ssh_url":"git@github.com:Financial-Times/polyfill-service.git","clone_url":"https://github.com/Financial-Times/polyfill-service.git","svn_url":"https://github.com/Financial-Times/polyfill-service","homepage":"https://cdn.polyfill.io/","size":4670,"stargazers_count":819,"watchers_count":819,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":63,"forks":128,"open_issues":63,"watchers":819,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"eb4cd1fc63ab2a74d884172fb3091eee095f3151","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":21244924,"name":"polyfill-service","full_name":"Financial-Times/polyfill-service","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/polyfill-service","description":"Automatic polyfill service","fork":false,"url":"https://api.github.com/repos/Financial-Times/polyfill-service","forks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/forks","keys_url":"https://api.github.com/repos/Financial-Times/polyfill-service/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/polyfill-service/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/polyfill-service/teams","hooks_url":"https://api.github.com/repos/Financial-Times/polyfill-service/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/polyfill-service/events","assignees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/polyfill-service/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/tags","blobs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/polyfill-service/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/polyfill-service/subscription","commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/polyfill-service/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/polyfill-service/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/polyfill-service/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/polyfill-service/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/polyfill-service/merges","archive_url":"https://api.github.com/repos/Financial-Times/polyfill-service/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/polyfill-service/downloads","issues_url":"https://api.github.com/repos/Financial-Times/polyfill-service/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/polyfill-service/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/polyfill-service/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/polyfill-service/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/polyfill-service/releases{/id}","created_at":"2014-06-26T15:09:49Z","updated_at":"2015-12-17T19:17:42Z","pushed_at":"2015-12-17T13:10:58Z","git_url":"git://github.com/Financial-Times/polyfill-service.git","ssh_url":"git@github.com:Financial-Times/polyfill-service.git","clone_url":"https://github.com/Financial-Times/polyfill-service.git","svn_url":"https://github.com/Financial-Times/polyfill-service","homepage":"https://cdn.polyfill.io/","size":4670,"stargazers_count":819,"watchers_count":819,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":128,"mirror_url":null,"open_issues_count":63,"forks":128,"open_issues":63,"watchers":819,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/536"},"html":{"href":"https://github.com/Financial-Times/polyfill-service/pull/536"},"issue":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/536"},"comments":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/issues/536/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/536/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/pulls/536/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/polyfill-service/statuses/d44489c6793e04d45881ca89b143ff8ae1a93b6f"}}}}