{"action":"closed","number":6,"pull_request":{"url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls/6","id":145777231,"html_url":"https://github.com/yoshuawuyts/nanobeacon/pull/6","diff_url":"https://github.com/yoshuawuyts/nanobeacon/pull/6.diff","patch_url":"https://github.com/yoshuawuyts/nanobeacon/pull/6.patch","issue_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues/6","number":6,"state":"closed","locked":false,"title":"check for sendBeacon before trying to send","user":{"login":"joehand","id":684965,"avatar_url":"https://avatars0.githubusercontent.com/u/684965?v=4","gravatar_id":"","url":"https://api.github.com/users/joehand","html_url":"https://github.com/joehand","followers_url":"https://api.github.com/users/joehand/followers","following_url":"https://api.github.com/users/joehand/following{/other_user}","gists_url":"https://api.github.com/users/joehand/gists{/gist_id}","starred_url":"https://api.github.com/users/joehand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehand/subscriptions","organizations_url":"https://api.github.com/users/joehand/orgs","repos_url":"https://api.github.com/users/joehand/repos","events_url":"https://api.github.com/users/joehand/events{/privacy}","received_events_url":"https://api.github.com/users/joehand/received_events","type":"User","site_admin":false},"body":"Right now this fails hard in Safari without a polyfill. \r\n\r\nThis PR will make sure we can send before sending.\r\n","created_at":"2017-10-10T19:14:13Z","updated_at":"2017-10-11T18:11:16Z","closed_at":"2017-10-11T18:11:16Z","merged_at":"2017-10-11T18:11:16Z","merge_commit_sha":"90d0a155cbdbea71be108354cc09486d518b4c92","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls/6/commits","review_comments_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls/6/comments","review_comment_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues/6/comments","statuses_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/statuses/ef56fde5b705ba4fd138a7e0637c780c56f90c0d","head":{"label":"yoshuawuyts:fix/safari","ref":"fix/safari","sha":"ef56fde5b705ba4fd138a7e0637c780c56f90c0d","user":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"repo":{"id":93685434,"name":"nanobeacon","full_name":"yoshuawuyts/nanobeacon","owner":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yoshuawuyts/nanobeacon","description":"Small navigator.sendBeacon wrapper","fork":false,"url":"https://api.github.com/repos/yoshuawuyts/nanobeacon","forks_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/forks","keys_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/teams","hooks_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/hooks","issue_events_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues/events{/number}","events_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/events","assignees_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/assignees{/user}","branches_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/branches{/branch}","tags_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/tags","blobs_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/refs{/sha}","trees_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/statuses/{sha}","languages_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/languages","stargazers_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/stargazers","contributors_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/contributors","subscribers_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/subscribers","subscription_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/subscription","commits_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/commits{/sha}","git_commits_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/commits{/sha}","comments_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/comments{/number}","issue_comment_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues/comments{/number}","contents_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/contents/{+path}","compare_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/merges","archive_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/downloads","issues_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues{/number}","pulls_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls{/number}","milestones_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/milestones{/number}","notifications_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/labels{/name}","releases_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/releases{/id}","deployments_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/deployments","created_at":"2017-06-07T22:36:36Z","updated_at":"2017-09-08T04:43:12Z","pushed_at":"2017-10-11T18:11:16Z","git_url":"git://github.com/yoshuawuyts/nanobeacon.git","ssh_url":"git@github.com:yoshuawuyts/nanobeacon.git","clone_url":"https://github.com/yoshuawuyts/nanobeacon.git","svn_url":"https://github.com/yoshuawuyts/nanobeacon","homepage":null,"size":11,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":23,"default_branch":"master"}},"base":{"label":"yoshuawuyts:master","ref":"master","sha":"b24c3898e43c2bf8440f20d2bc26dffa4ba8cc85","user":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"repo":{"id":93685434,"name":"nanobeacon","full_name":"yoshuawuyts/nanobeacon","owner":{"login":"yoshuawuyts","id":2467194,"avatar_url":"https://avatars3.githubusercontent.com/u/2467194?v=4","gravatar_id":"","url":"https://api.github.com/users/yoshuawuyts","html_url":"https://github.com/yoshuawuyts","followers_url":"https://api.github.com/users/yoshuawuyts/followers","following_url":"https://api.github.com/users/yoshuawuyts/following{/other_user}","gists_url":"https://api.github.com/users/yoshuawuyts/gists{/gist_id}","starred_url":"https://api.github.com/users/yoshuawuyts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yoshuawuyts/subscriptions","organizations_url":"https://api.github.com/users/yoshuawuyts/orgs","repos_url":"https://api.github.com/users/yoshuawuyts/repos","events_url":"https://api.github.com/users/yoshuawuyts/events{/privacy}","received_events_url":"https://api.github.com/users/yoshuawuyts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yoshuawuyts/nanobeacon","description":"Small navigator.sendBeacon wrapper","fork":false,"url":"https://api.github.com/repos/yoshuawuyts/nanobeacon","forks_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/forks","keys_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/teams","hooks_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/hooks","issue_events_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues/events{/number}","events_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/events","assignees_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/assignees{/user}","branches_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/branches{/branch}","tags_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/tags","blobs_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/refs{/sha}","trees_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/statuses/{sha}","languages_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/languages","stargazers_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/stargazers","contributors_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/contributors","subscribers_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/subscribers","subscription_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/subscription","commits_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/commits{/sha}","git_commits_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/git/commits{/sha}","comments_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/comments{/number}","issue_comment_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues/comments{/number}","contents_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/contents/{+path}","compare_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/merges","archive_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/downloads","issues_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues{/number}","pulls_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls{/number}","milestones_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/milestones{/number}","notifications_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/labels{/name}","releases_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/releases{/id}","deployments_url":"https://api.github.com/repos/yoshuawuyts/nanobeacon/deployments","created_at":"2017-06-07T22:36:36Z","updated_at":"2017-09-08T04:43:12Z","pushed_at":"2017-10-11T18:11:16Z","git_url":"git://github.com/yoshuawuyts/nanobeacon.git","ssh_url":"git@github.com:yoshuawuyts/nanobeacon.git","clone_url":"https://github.com/yoshuawuyts/nanobeacon.git","svn_url":"https://github.com/yoshuawuyts/nanobeacon","homepage":null,"size":11,"stargazers_count":23,"watchers_count":23,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":23,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls/6"},"html":{"href":"https://github.com/yoshuawuyts/nanobeacon/pull/6"},"issue":{"href":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues/6"},"comments":{"href":"https://api.github.com/repos/yoshuawuyts/nanobeacon/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yoshuawuyts/nanobeacon/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/yoshuawuyts/nanobeacon/statuses/ef56fde5b705ba4fd138a7e0637c780c56f90c0d"}},"author_association":"COLLABORATOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"joehand","id":684965,"avatar_url":"https://avatars0.githubusercontent.com/u/684965?v=4","gravatar_id":"","url":"https://api.github.com/users/joehand","html_url":"https://github.com/joehand","followers_url":"https://api.github.com/users/joehand/followers","following_url":"https://api.github.com/users/joehand/following{/other_user}","gists_url":"https://api.github.com/users/joehand/gists{/gist_id}","starred_url":"https://api.github.com/users/joehand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joehand/subscriptions","organizations_url":"https://api.github.com/users/joehand/orgs","repos_url":"https://api.github.com/users/joehand/repos","events_url":"https://api.github.com/users/joehand/events{/privacy}","received_events_url":"https://api.github.com/users/joehand/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"joehand"}}