{"action":"closed","number":24,"pull_request":{"url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls/24","id":34045375,"html_url":"https://github.com/ttsvetko/HTML5-Desktop-Notifications/pull/24","diff_url":"https://github.com/ttsvetko/HTML5-Desktop-Notifications/pull/24.diff","patch_url":"https://github.com/ttsvetko/HTML5-Desktop-Notifications/pull/24.patch","issue_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/issues/24","number":24,"state":"closed","locked":false,"title":"Allow to add listeners to notifications","user":{"login":"tleruitte","id":608603,"avatar_url":"https://avatars.githubusercontent.com/u/608603?v=3","gravatar_id":"","url":"https://api.github.com/users/tleruitte","html_url":"https://github.com/tleruitte","followers_url":"https://api.github.com/users/tleruitte/followers","following_url":"https://api.github.com/users/tleruitte/following{/other_user}","gists_url":"https://api.github.com/users/tleruitte/gists{/gist_id}","starred_url":"https://api.github.com/users/tleruitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleruitte/subscriptions","organizations_url":"https://api.github.com/users/tleruitte/orgs","repos_url":"https://api.github.com/users/tleruitte/repos","events_url":"https://api.github.com/users/tleruitte/events{/privacy}","received_events_url":"https://api.github.com/users/tleruitte/received_events","type":"User","site_admin":false},"body":"Expose a 'on' method on the notification wrapper so the user can add an event listener on the notification object. \r\nEvents that are supported are click, show, error and close.","created_at":"2015-04-24T12:51:47Z","updated_at":"2016-09-19T11:33:05Z","closed_at":"2016-09-19T11:33:05Z","merged_at":null,"merge_commit_sha":"a67ce1c846f5cbfe1494e40a0332b1c6919bc090","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls/24/commits","review_comments_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls/24/comments","review_comment_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/issues/24/comments","statuses_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/statuses/7d942531dc6ad76557d1e7fb567a067d1399fb58","head":{"label":"tleruitte:patch-1","ref":"patch-1","sha":"7d942531dc6ad76557d1e7fb567a067d1399fb58","user":{"login":"tleruitte","id":608603,"avatar_url":"https://avatars.githubusercontent.com/u/608603?v=3","gravatar_id":"","url":"https://api.github.com/users/tleruitte","html_url":"https://github.com/tleruitte","followers_url":"https://api.github.com/users/tleruitte/followers","following_url":"https://api.github.com/users/tleruitte/following{/other_user}","gists_url":"https://api.github.com/users/tleruitte/gists{/gist_id}","starred_url":"https://api.github.com/users/tleruitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleruitte/subscriptions","organizations_url":"https://api.github.com/users/tleruitte/orgs","repos_url":"https://api.github.com/users/tleruitte/repos","events_url":"https://api.github.com/users/tleruitte/events{/privacy}","received_events_url":"https://api.github.com/users/tleruitte/received_events","type":"User","site_admin":false},"repo":{"id":34518294,"name":"HTML5-Desktop-Notifications","full_name":"tleruitte/HTML5-Desktop-Notifications","owner":{"login":"tleruitte","id":608603,"avatar_url":"https://avatars.githubusercontent.com/u/608603?v=3","gravatar_id":"","url":"https://api.github.com/users/tleruitte","html_url":"https://github.com/tleruitte","followers_url":"https://api.github.com/users/tleruitte/followers","following_url":"https://api.github.com/users/tleruitte/following{/other_user}","gists_url":"https://api.github.com/users/tleruitte/gists{/gist_id}","starred_url":"https://api.github.com/users/tleruitte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tleruitte/subscriptions","organizations_url":"https://api.github.com/users/tleruitte/orgs","repos_url":"https://api.github.com/users/tleruitte/repos","events_url":"https://api.github.com/users/tleruitte/events{/privacy}","received_events_url":"https://api.github.com/users/tleruitte/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tleruitte/HTML5-Desktop-Notifications","description":"Desktop notifications plugin for Chrome, Safari, Firefox and IE9+","fork":true,"url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications","forks_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/forks","keys_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/teams","hooks_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/hooks","issue_events_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/issues/events{/number}","events_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/events","assignees_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/assignees{/user}","branches_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/branches{/branch}","tags_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/tags","blobs_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/statuses/{sha}","languages_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/languages","stargazers_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/stargazers","contributors_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/contributors","subscribers_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/subscribers","subscription_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/subscription","commits_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/contents/{+path}","compare_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/merges","archive_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/downloads","issues_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/issues{/number}","pulls_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/pulls{/number}","milestones_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/milestones{/number}","notifications_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/labels{/name}","releases_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/releases{/id}","deployments_url":"https://api.github.com/repos/tleruitte/HTML5-Desktop-Notifications/deployments","created_at":"2015-04-24T12:47:54Z","updated_at":"2015-04-24T12:47:55Z","pushed_at":"2015-04-24T12:55:58Z","git_url":"git://github.com/tleruitte/HTML5-Desktop-Notifications.git","ssh_url":"git@github.com:tleruitte/HTML5-Desktop-Notifications.git","clone_url":"https://github.com/tleruitte/HTML5-Desktop-Notifications.git","svn_url":"https://github.com/tleruitte/HTML5-Desktop-Notifications","homepage":"","size":282,"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":"ttsvetko:master","ref":"master","sha":"1ad38f3041d16f63bc4740970286273b174f3b9d","user":{"login":"ttsvetko","id":159775,"avatar_url":"https://avatars.githubusercontent.com/u/159775?v=3","gravatar_id":"","url":"https://api.github.com/users/ttsvetko","html_url":"https://github.com/ttsvetko","followers_url":"https://api.github.com/users/ttsvetko/followers","following_url":"https://api.github.com/users/ttsvetko/following{/other_user}","gists_url":"https://api.github.com/users/ttsvetko/gists{/gist_id}","starred_url":"https://api.github.com/users/ttsvetko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttsvetko/subscriptions","organizations_url":"https://api.github.com/users/ttsvetko/orgs","repos_url":"https://api.github.com/users/ttsvetko/repos","events_url":"https://api.github.com/users/ttsvetko/events{/privacy}","received_events_url":"https://api.github.com/users/ttsvetko/received_events","type":"User","site_admin":false},"repo":{"id":6967864,"name":"HTML5-Desktop-Notifications","full_name":"ttsvetko/HTML5-Desktop-Notifications","owner":{"login":"ttsvetko","id":159775,"avatar_url":"https://avatars.githubusercontent.com/u/159775?v=3","gravatar_id":"","url":"https://api.github.com/users/ttsvetko","html_url":"https://github.com/ttsvetko","followers_url":"https://api.github.com/users/ttsvetko/followers","following_url":"https://api.github.com/users/ttsvetko/following{/other_user}","gists_url":"https://api.github.com/users/ttsvetko/gists{/gist_id}","starred_url":"https://api.github.com/users/ttsvetko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ttsvetko/subscriptions","organizations_url":"https://api.github.com/users/ttsvetko/orgs","repos_url":"https://api.github.com/users/ttsvetko/repos","events_url":"https://api.github.com/users/ttsvetko/events{/privacy}","received_events_url":"https://api.github.com/users/ttsvetko/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ttsvetko/HTML5-Desktop-Notifications","description":"Desktop notifications plugin for Chrome, Safari, Firefox and IE9+","fork":false,"url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications","forks_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/forks","keys_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/teams","hooks_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/hooks","issue_events_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/issues/events{/number}","events_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/events","assignees_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/assignees{/user}","branches_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/branches{/branch}","tags_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/tags","blobs_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/git/refs{/sha}","trees_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/statuses/{sha}","languages_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/languages","stargazers_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/stargazers","contributors_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/contributors","subscribers_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/subscribers","subscription_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/subscription","commits_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/commits{/sha}","git_commits_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/git/commits{/sha}","comments_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/comments{/number}","issue_comment_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/issues/comments{/number}","contents_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/contents/{+path}","compare_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/merges","archive_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/downloads","issues_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/issues{/number}","pulls_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls{/number}","milestones_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/milestones{/number}","notifications_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/labels{/name}","releases_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/releases{/id}","deployments_url":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/deployments","created_at":"2012-12-02T14:08:12Z","updated_at":"2016-09-18T20:14:29Z","pushed_at":"2016-09-19T11:32:00Z","git_url":"git://github.com/ttsvetko/HTML5-Desktop-Notifications.git","ssh_url":"git@github.com:ttsvetko/HTML5-Desktop-Notifications.git","clone_url":"https://github.com/ttsvetko/HTML5-Desktop-Notifications.git","svn_url":"https://github.com/ttsvetko/HTML5-Desktop-Notifications","homepage":"http://ttsvetko.github.io/HTML5-Desktop-Notifications/","size":2129,"stargazers_count":970,"watchers_count":970,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":216,"mirror_url":null,"open_issues_count":16,"forks":216,"open_issues":16,"watchers":970,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls/24"},"html":{"href":"https://github.com/ttsvetko/HTML5-Desktop-Notifications/pull/24"},"issue":{"href":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/issues/24"},"comments":{"href":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/ttsvetko/HTML5-Desktop-Notifications/statuses/7d942531dc6ad76557d1e7fb567a067d1399fb58"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":2,"review_comments":0,"commits":1,"additions":6,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"ttsvetko"}}