{"action":"created","comment":{"url":"https://api.github.com/repos/fxbox/app/pulls/comments/59732397","id":59732397,"diff_hunk":"@@ -0,0 +1,40 @@\n+/**","path":"app/hookSW.js","position":1,"original_position":1,"commit_id":"b4e7b7efdca07167a8e8875cf54ce989b1247a3d","original_commit_id":"b4e7b7efdca07167a8e8875cf54ce989b1247a3d","user":{"login":"gmarty","id":333865,"avatar_url":"https://avatars.githubusercontent.com/u/333865?v=3","gravatar_id":"","url":"https://api.github.com/users/gmarty","html_url":"https://github.com/gmarty","followers_url":"https://api.github.com/users/gmarty/followers","following_url":"https://api.github.com/users/gmarty/following{/other_user}","gists_url":"https://api.github.com/users/gmarty/gists{/gist_id}","starred_url":"https://api.github.com/users/gmarty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmarty/subscriptions","organizations_url":"https://api.github.com/users/gmarty/orgs","repos_url":"https://api.github.com/users/gmarty/repos","events_url":"https://api.github.com/users/gmarty/events{/privacy}","received_events_url":"https://api.github.com/users/gmarty/received_events","type":"User","site_admin":false},"body":"**Note:** In the future, we will want to write this file in es2015 and add it to the transpilation workflow like the files in the `js/` folder. It will be better if we want to make a es5 build one day. This file needs to be linted as well.\r\nPing @azasypkin.","created_at":"2016-04-14T14:57:48Z","updated_at":"2016-04-14T14:57:48Z","html_url":"https://github.com/fxbox/app/pull/25#discussion_r59732397","pull_request_url":"https://api.github.com/repos/fxbox/app/pulls/25","_links":{"self":{"href":"https://api.github.com/repos/fxbox/app/pulls/comments/59732397"},"html":{"href":"https://github.com/fxbox/app/pull/25#discussion_r59732397"},"pull_request":{"href":"https://api.github.com/repos/fxbox/app/pulls/25"}}},"pull_request":{"url":"https://api.github.com/repos/fxbox/app/pulls/25","id":63813839,"html_url":"https://github.com/fxbox/app/pull/25","diff_url":"https://github.com/fxbox/app/pull/25.diff","patch_url":"https://github.com/fxbox/app/pull/25.patch","issue_url":"https://api.github.com/repos/fxbox/app/issues/25","number":25,"state":"open","locked":false,"title":"Web Push (tested on Firefox)","user":{"login":"arcturus","id":60801,"avatar_url":"https://avatars.githubusercontent.com/u/60801?v=3","gravatar_id":"","url":"https://api.github.com/users/arcturus","html_url":"https://github.com/arcturus","followers_url":"https://api.github.com/users/arcturus/followers","following_url":"https://api.github.com/users/arcturus/following{/other_user}","gists_url":"https://api.github.com/users/arcturus/gists{/gist_id}","starred_url":"https://api.github.com/users/arcturus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcturus/subscriptions","organizations_url":"https://api.github.com/users/arcturus/orgs","repos_url":"https://api.github.com/users/arcturus/repos","events_url":"https://api.github.com/users/arcturus/events{/privacy}","received_events_url":"https://api.github.com/users/arcturus/received_events","type":"User","site_admin":false},"body":"So far just print to the console the endpoint and the key, we will need to send it to the\r\nserver once it's implemented there.\r\n\r\nThis is just a WIP\r\n\r\n@gmarty @aosmond thoughts?","created_at":"2016-03-23T00:13:42Z","updated_at":"2016-04-14T14:57:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d8038e612442793b33b0ccd53abf8ebad1cb3c1e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fxbox/app/pulls/25/commits","review_comments_url":"https://api.github.com/repos/fxbox/app/pulls/25/comments","review_comment_url":"https://api.github.com/repos/fxbox/app/pulls/comments{/number}","comments_url":"https://api.github.com/repos/fxbox/app/issues/25/comments","statuses_url":"https://api.github.com/repos/fxbox/app/statuses/b4e7b7efdca07167a8e8875cf54ce989b1247a3d","head":{"label":"arcturus:webpush","ref":"webpush","sha":"b4e7b7efdca07167a8e8875cf54ce989b1247a3d","user":{"login":"arcturus","id":60801,"avatar_url":"https://avatars.githubusercontent.com/u/60801?v=3","gravatar_id":"","url":"https://api.github.com/users/arcturus","html_url":"https://github.com/arcturus","followers_url":"https://api.github.com/users/arcturus/followers","following_url":"https://api.github.com/users/arcturus/following{/other_user}","gists_url":"https://api.github.com/users/arcturus/gists{/gist_id}","starred_url":"https://api.github.com/users/arcturus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcturus/subscriptions","organizations_url":"https://api.github.com/users/arcturus/orgs","repos_url":"https://api.github.com/users/arcturus/repos","events_url":"https://api.github.com/users/arcturus/events{/privacy}","received_events_url":"https://api.github.com/users/arcturus/received_events","type":"User","site_admin":false},"repo":{"id":53149823,"name":"app","full_name":"arcturus/app","owner":{"login":"arcturus","id":60801,"avatar_url":"https://avatars.githubusercontent.com/u/60801?v=3","gravatar_id":"","url":"https://api.github.com/users/arcturus","html_url":"https://github.com/arcturus","followers_url":"https://api.github.com/users/arcturus/followers","following_url":"https://api.github.com/users/arcturus/following{/other_user}","gists_url":"https://api.github.com/users/arcturus/gists{/gist_id}","starred_url":"https://api.github.com/users/arcturus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arcturus/subscriptions","organizations_url":"https://api.github.com/users/arcturus/orgs","repos_url":"https://api.github.com/users/arcturus/repos","events_url":"https://api.github.com/users/arcturus/events{/privacy}","received_events_url":"https://api.github.com/users/arcturus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/arcturus/app","description":"An app for Project Link","fork":true,"url":"https://api.github.com/repos/arcturus/app","forks_url":"https://api.github.com/repos/arcturus/app/forks","keys_url":"https://api.github.com/repos/arcturus/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arcturus/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arcturus/app/teams","hooks_url":"https://api.github.com/repos/arcturus/app/hooks","issue_events_url":"https://api.github.com/repos/arcturus/app/issues/events{/number}","events_url":"https://api.github.com/repos/arcturus/app/events","assignees_url":"https://api.github.com/repos/arcturus/app/assignees{/user}","branches_url":"https://api.github.com/repos/arcturus/app/branches{/branch}","tags_url":"https://api.github.com/repos/arcturus/app/tags","blobs_url":"https://api.github.com/repos/arcturus/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arcturus/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arcturus/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/arcturus/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arcturus/app/statuses/{sha}","languages_url":"https://api.github.com/repos/arcturus/app/languages","stargazers_url":"https://api.github.com/repos/arcturus/app/stargazers","contributors_url":"https://api.github.com/repos/arcturus/app/contributors","subscribers_url":"https://api.github.com/repos/arcturus/app/subscribers","subscription_url":"https://api.github.com/repos/arcturus/app/subscription","commits_url":"https://api.github.com/repos/arcturus/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/arcturus/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/arcturus/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/arcturus/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/arcturus/app/contents/{+path}","compare_url":"https://api.github.com/repos/arcturus/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arcturus/app/merges","archive_url":"https://api.github.com/repos/arcturus/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arcturus/app/downloads","issues_url":"https://api.github.com/repos/arcturus/app/issues{/number}","pulls_url":"https://api.github.com/repos/arcturus/app/pulls{/number}","milestones_url":"https://api.github.com/repos/arcturus/app/milestones{/number}","notifications_url":"https://api.github.com/repos/arcturus/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arcturus/app/labels{/name}","releases_url":"https://api.github.com/repos/arcturus/app/releases{/id}","deployments_url":"https://api.github.com/repos/arcturus/app/deployments","created_at":"2016-03-04T16:39:55Z","updated_at":"2016-03-04T16:39:56Z","pushed_at":"2016-04-14T14:07:14Z","git_url":"git://github.com/arcturus/app.git","ssh_url":"git@github.com:arcturus/app.git","clone_url":"https://github.com/arcturus/app.git","svn_url":"https://github.com/arcturus/app","homepage":"https://fxbox.github.io/app","size":1708,"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":"fxbox:master","ref":"master","sha":"8a3bbc7e01ee961925bbdac1b4b989be8f7168c6","user":{"login":"fxbox","id":17052474,"avatar_url":"https://avatars.githubusercontent.com/u/17052474?v=3","gravatar_id":"","url":"https://api.github.com/users/fxbox","html_url":"https://github.com/fxbox","followers_url":"https://api.github.com/users/fxbox/followers","following_url":"https://api.github.com/users/fxbox/following{/other_user}","gists_url":"https://api.github.com/users/fxbox/gists{/gist_id}","starred_url":"https://api.github.com/users/fxbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxbox/subscriptions","organizations_url":"https://api.github.com/users/fxbox/orgs","repos_url":"https://api.github.com/users/fxbox/repos","events_url":"https://api.github.com/users/fxbox/events{/privacy}","received_events_url":"https://api.github.com/users/fxbox/received_events","type":"Organization","site_admin":false},"repo":{"id":51533667,"name":"app","full_name":"fxbox/app","owner":{"login":"fxbox","id":17052474,"avatar_url":"https://avatars.githubusercontent.com/u/17052474?v=3","gravatar_id":"","url":"https://api.github.com/users/fxbox","html_url":"https://github.com/fxbox","followers_url":"https://api.github.com/users/fxbox/followers","following_url":"https://api.github.com/users/fxbox/following{/other_user}","gists_url":"https://api.github.com/users/fxbox/gists{/gist_id}","starred_url":"https://api.github.com/users/fxbox/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fxbox/subscriptions","organizations_url":"https://api.github.com/users/fxbox/orgs","repos_url":"https://api.github.com/users/fxbox/repos","events_url":"https://api.github.com/users/fxbox/events{/privacy}","received_events_url":"https://api.github.com/users/fxbox/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fxbox/app","description":"An app for Project Link","fork":false,"url":"https://api.github.com/repos/fxbox/app","forks_url":"https://api.github.com/repos/fxbox/app/forks","keys_url":"https://api.github.com/repos/fxbox/app/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fxbox/app/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fxbox/app/teams","hooks_url":"https://api.github.com/repos/fxbox/app/hooks","issue_events_url":"https://api.github.com/repos/fxbox/app/issues/events{/number}","events_url":"https://api.github.com/repos/fxbox/app/events","assignees_url":"https://api.github.com/repos/fxbox/app/assignees{/user}","branches_url":"https://api.github.com/repos/fxbox/app/branches{/branch}","tags_url":"https://api.github.com/repos/fxbox/app/tags","blobs_url":"https://api.github.com/repos/fxbox/app/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fxbox/app/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fxbox/app/git/refs{/sha}","trees_url":"https://api.github.com/repos/fxbox/app/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fxbox/app/statuses/{sha}","languages_url":"https://api.github.com/repos/fxbox/app/languages","stargazers_url":"https://api.github.com/repos/fxbox/app/stargazers","contributors_url":"https://api.github.com/repos/fxbox/app/contributors","subscribers_url":"https://api.github.com/repos/fxbox/app/subscribers","subscription_url":"https://api.github.com/repos/fxbox/app/subscription","commits_url":"https://api.github.com/repos/fxbox/app/commits{/sha}","git_commits_url":"https://api.github.com/repos/fxbox/app/git/commits{/sha}","comments_url":"https://api.github.com/repos/fxbox/app/comments{/number}","issue_comment_url":"https://api.github.com/repos/fxbox/app/issues/comments{/number}","contents_url":"https://api.github.com/repos/fxbox/app/contents/{+path}","compare_url":"https://api.github.com/repos/fxbox/app/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fxbox/app/merges","archive_url":"https://api.github.com/repos/fxbox/app/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fxbox/app/downloads","issues_url":"https://api.github.com/repos/fxbox/app/issues{/number}","pulls_url":"https://api.github.com/repos/fxbox/app/pulls{/number}","milestones_url":"https://api.github.com/repos/fxbox/app/milestones{/number}","notifications_url":"https://api.github.com/repos/fxbox/app/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fxbox/app/labels{/name}","releases_url":"https://api.github.com/repos/fxbox/app/releases{/id}","deployments_url":"https://api.github.com/repos/fxbox/app/deployments","created_at":"2016-02-11T17:46:54Z","updated_at":"2016-03-04T13:20:59Z","pushed_at":"2016-04-14T14:23:25Z","git_url":"git://github.com/fxbox/app.git","ssh_url":"git@github.com:fxbox/app.git","clone_url":"https://github.com/fxbox/app.git","svn_url":"https://github.com/fxbox/app","homepage":"https://fxbox.github.io/app","size":1916,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":7,"mirror_url":null,"open_issues_count":20,"forks":7,"open_issues":20,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fxbox/app/pulls/25"},"html":{"href":"https://github.com/fxbox/app/pull/25"},"issue":{"href":"https://api.github.com/repos/fxbox/app/issues/25"},"comments":{"href":"https://api.github.com/repos/fxbox/app/issues/25/comments"},"review_comments":{"href":"https://api.github.com/repos/fxbox/app/pulls/25/comments"},"review_comment":{"href":"https://api.github.com/repos/fxbox/app/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/fxbox/app/pulls/25/commits"},"statuses":{"href":"https://api.github.com/repos/fxbox/app/statuses/b4e7b7efdca07167a8e8875cf54ce989b1247a3d"}}}}