{"action":"created","comment":{"url":"https://api.github.com/repos/WordPress/packages/pulls/comments/158130683","pull_request_review_id":84891245,"id":158130683,"diff_hunk":"@@ -41,4 +41,11 @@ Hooks can be added to an object via composition:\n \n `myObject.hooks = createHooks();`\n \n-API functions are then be called: `myObject.hooks.addAction()`...\n+API functions are then be called: `myObject.hooks.addAction()`.\n+\n+### Events on action/filter add or remove.","path":"packages/hooks/README.md","position":16,"original_position":16,"commit_id":"9d7c064261a1b09ef93a23f682836a6ba31bbe25","original_commit_id":"9d7c064261a1b09ef93a23f682836a6ba31bbe25","user":{"login":"gziolo","id":699132,"avatar_url":"https://avatars2.githubusercontent.com/u/699132?v=4","gravatar_id":"","url":"https://api.github.com/users/gziolo","html_url":"https://github.com/gziolo","followers_url":"https://api.github.com/users/gziolo/followers","following_url":"https://api.github.com/users/gziolo/following{/other_user}","gists_url":"https://api.github.com/users/gziolo/gists{/gist_id}","starred_url":"https://api.github.com/users/gziolo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gziolo/subscriptions","organizations_url":"https://api.github.com/users/gziolo/orgs","repos_url":"https://api.github.com/users/gziolo/repos","events_url":"https://api.github.com/users/gziolo/events{/privacy}","received_events_url":"https://api.github.com/users/gziolo/received_events","type":"User","site_admin":false},"body":"We don't put `.` at the end of section title in other places.","created_at":"2017-12-20T20:42:42Z","updated_at":"2017-12-20T20:42:42Z","html_url":"https://github.com/WordPress/packages/pull/52#discussion_r158130683","pull_request_url":"https://api.github.com/repos/WordPress/packages/pulls/52","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/WordPress/packages/pulls/comments/158130683"},"html":{"href":"https://github.com/WordPress/packages/pull/52#discussion_r158130683"},"pull_request":{"href":"https://api.github.com/repos/WordPress/packages/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/WordPress/packages/pulls/52","id":158608851,"html_url":"https://github.com/WordPress/packages/pull/52","diff_url":"https://github.com/WordPress/packages/pull/52.diff","patch_url":"https://github.com/WordPress/packages/pull/52.patch","issue_url":"https://api.github.com/repos/WordPress/packages/issues/52","number":52,"state":"open","locked":false,"title":"Feature/events on add remove","user":{"login":"adamsilverstein","id":2676022,"avatar_url":"https://avatars0.githubusercontent.com/u/2676022?v=4","gravatar_id":"","url":"https://api.github.com/users/adamsilverstein","html_url":"https://github.com/adamsilverstein","followers_url":"https://api.github.com/users/adamsilverstein/followers","following_url":"https://api.github.com/users/adamsilverstein/following{/other_user}","gists_url":"https://api.github.com/users/adamsilverstein/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsilverstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsilverstein/subscriptions","organizations_url":"https://api.github.com/users/adamsilverstein/orgs","repos_url":"https://api.github.com/users/adamsilverstein/repos","events_url":"https://api.github.com/users/adamsilverstein/events{/privacy}","received_events_url":"https://api.github.com/users/adamsilverstein/received_events","type":"User","site_admin":false},"body":"* needs unit tests","created_at":"2017-12-15T13:56:48Z","updated_at":"2017-12-20T20:42:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee9286a9401f3e50482fbcfa69f5f74e49825221","assignee":{"login":"adamsilverstein","id":2676022,"avatar_url":"https://avatars0.githubusercontent.com/u/2676022?v=4","gravatar_id":"","url":"https://api.github.com/users/adamsilverstein","html_url":"https://github.com/adamsilverstein","followers_url":"https://api.github.com/users/adamsilverstein/followers","following_url":"https://api.github.com/users/adamsilverstein/following{/other_user}","gists_url":"https://api.github.com/users/adamsilverstein/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsilverstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsilverstein/subscriptions","organizations_url":"https://api.github.com/users/adamsilverstein/orgs","repos_url":"https://api.github.com/users/adamsilverstein/repos","events_url":"https://api.github.com/users/adamsilverstein/events{/privacy}","received_events_url":"https://api.github.com/users/adamsilverstein/received_events","type":"User","site_admin":false},"assignees":[{"login":"adamsilverstein","id":2676022,"avatar_url":"https://avatars0.githubusercontent.com/u/2676022?v=4","gravatar_id":"","url":"https://api.github.com/users/adamsilverstein","html_url":"https://github.com/adamsilverstein","followers_url":"https://api.github.com/users/adamsilverstein/followers","following_url":"https://api.github.com/users/adamsilverstein/following{/other_user}","gists_url":"https://api.github.com/users/adamsilverstein/gists{/gist_id}","starred_url":"https://api.github.com/users/adamsilverstein/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamsilverstein/subscriptions","organizations_url":"https://api.github.com/users/adamsilverstein/orgs","repos_url":"https://api.github.com/users/adamsilverstein/repos","events_url":"https://api.github.com/users/adamsilverstein/events{/privacy}","received_events_url":"https://api.github.com/users/adamsilverstein/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/WordPress/packages/pulls/52/commits","review_comments_url":"https://api.github.com/repos/WordPress/packages/pulls/52/comments","review_comment_url":"https://api.github.com/repos/WordPress/packages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WordPress/packages/issues/52/comments","statuses_url":"https://api.github.com/repos/WordPress/packages/statuses/9d7c064261a1b09ef93a23f682836a6ba31bbe25","head":{"label":"WordPress:feature/events-on-add-remove","ref":"feature/events-on-add-remove","sha":"9d7c064261a1b09ef93a23f682836a6ba31bbe25","user":{"login":"WordPress","id":276006,"avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"repo":{"id":95565400,"name":"packages","full_name":"WordPress/packages","owner":{"login":"WordPress","id":276006,"avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WordPress/packages","description":"Collection of JS modules and tools for WordPress development","fork":false,"url":"https://api.github.com/repos/WordPress/packages","forks_url":"https://api.github.com/repos/WordPress/packages/forks","keys_url":"https://api.github.com/repos/WordPress/packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress/packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress/packages/teams","hooks_url":"https://api.github.com/repos/WordPress/packages/hooks","issue_events_url":"https://api.github.com/repos/WordPress/packages/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress/packages/events","assignees_url":"https://api.github.com/repos/WordPress/packages/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress/packages/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress/packages/tags","blobs_url":"https://api.github.com/repos/WordPress/packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress/packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress/packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress/packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress/packages/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress/packages/languages","stargazers_url":"https://api.github.com/repos/WordPress/packages/stargazers","contributors_url":"https://api.github.com/repos/WordPress/packages/contributors","subscribers_url":"https://api.github.com/repos/WordPress/packages/subscribers","subscription_url":"https://api.github.com/repos/WordPress/packages/subscription","commits_url":"https://api.github.com/repos/WordPress/packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress/packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress/packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress/packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress/packages/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress/packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress/packages/merges","archive_url":"https://api.github.com/repos/WordPress/packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress/packages/downloads","issues_url":"https://api.github.com/repos/WordPress/packages/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress/packages/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress/packages/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress/packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress/packages/labels{/name}","releases_url":"https://api.github.com/repos/WordPress/packages/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress/packages/deployments","created_at":"2017-06-27T14:10:12Z","updated_at":"2017-12-20T19:15:26Z","pushed_at":"2017-12-20T15:30:15Z","git_url":"git://github.com/WordPress/packages.git","ssh_url":"git@github.com:WordPress/packages.git","clone_url":"https://github.com/WordPress/packages.git","svn_url":"https://github.com/WordPress/packages","homepage":null,"size":309,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":12,"open_issues":8,"watchers":40,"default_branch":"master"}},"base":{"label":"WordPress:master","ref":"master","sha":"f71e108bed95c62e92e3323fa3b96b87c35f94a2","user":{"login":"WordPress","id":276006,"avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"repo":{"id":95565400,"name":"packages","full_name":"WordPress/packages","owner":{"login":"WordPress","id":276006,"avatar_url":"https://avatars0.githubusercontent.com/u/276006?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress","html_url":"https://github.com/WordPress","followers_url":"https://api.github.com/users/WordPress/followers","following_url":"https://api.github.com/users/WordPress/following{/other_user}","gists_url":"https://api.github.com/users/WordPress/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress/subscriptions","organizations_url":"https://api.github.com/users/WordPress/orgs","repos_url":"https://api.github.com/users/WordPress/repos","events_url":"https://api.github.com/users/WordPress/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WordPress/packages","description":"Collection of JS modules and tools for WordPress development","fork":false,"url":"https://api.github.com/repos/WordPress/packages","forks_url":"https://api.github.com/repos/WordPress/packages/forks","keys_url":"https://api.github.com/repos/WordPress/packages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress/packages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress/packages/teams","hooks_url":"https://api.github.com/repos/WordPress/packages/hooks","issue_events_url":"https://api.github.com/repos/WordPress/packages/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress/packages/events","assignees_url":"https://api.github.com/repos/WordPress/packages/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress/packages/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress/packages/tags","blobs_url":"https://api.github.com/repos/WordPress/packages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress/packages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress/packages/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress/packages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress/packages/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress/packages/languages","stargazers_url":"https://api.github.com/repos/WordPress/packages/stargazers","contributors_url":"https://api.github.com/repos/WordPress/packages/contributors","subscribers_url":"https://api.github.com/repos/WordPress/packages/subscribers","subscription_url":"https://api.github.com/repos/WordPress/packages/subscription","commits_url":"https://api.github.com/repos/WordPress/packages/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress/packages/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress/packages/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress/packages/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress/packages/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress/packages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress/packages/merges","archive_url":"https://api.github.com/repos/WordPress/packages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress/packages/downloads","issues_url":"https://api.github.com/repos/WordPress/packages/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress/packages/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress/packages/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress/packages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress/packages/labels{/name}","releases_url":"https://api.github.com/repos/WordPress/packages/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress/packages/deployments","created_at":"2017-06-27T14:10:12Z","updated_at":"2017-12-20T19:15:26Z","pushed_at":"2017-12-20T15:30:15Z","git_url":"git://github.com/WordPress/packages.git","ssh_url":"git@github.com:WordPress/packages.git","clone_url":"https://github.com/WordPress/packages.git","svn_url":"https://github.com/WordPress/packages","homepage":null,"size":309,"stargazers_count":40,"watchers_count":40,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"archived":false,"open_issues_count":8,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":12,"open_issues":8,"watchers":40,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WordPress/packages/pulls/52"},"html":{"href":"https://github.com/WordPress/packages/pull/52"},"issue":{"href":"https://api.github.com/repos/WordPress/packages/issues/52"},"comments":{"href":"https://api.github.com/repos/WordPress/packages/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/WordPress/packages/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/WordPress/packages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WordPress/packages/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/WordPress/packages/statuses/9d7c064261a1b09ef93a23f682836a6ba31bbe25"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"gziolo"}}