{"action":"created","comment":{"url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/comments/166905497","pull_request_review_id":95038415,"id":166905497,"diff_hunk":"@@ -23,7 +23,7 @@ const clicks = new Observable(observer => {\n });\n ```\n \n-为什么展示这个跟 Subjects 没半点关系的示例？好吧，一点是它展示了为什么不总是需要使用 Subject，另外一点这有个隐藏的 subject... (某种程度上可以说是 subject )。这里要注意的一点是，Observable 是通过 addEventListener 来包装按钮的处理函数的注册，而 addEventListener 本身就是一个 subject 。…至少根据 [“Gang Of Four” 的观察者模式](https://en.wikipedia.org/wiki/Design_Patterns)来说是这样的。\n+为什么展示这个跟 Subjects 没半点关系的示例？好吧，一点是它展示了为什么不总是需要使用 Subject，另外一点这有个隐藏的 subject... (某种程度上可以说是 subject )。这里要注意的一点是，这个 Observable 包装了对于按钮的 addEventListener 事件处理函数的注册操作，而 addEventListener 本身就是一个 subject 。…至少根据 [“Gang Of Four” 的观察者模式](https://en.wikipedia.org/wiki/Design_Patterns)来说是这样的。","path":"articles/On-The-Subject-Of-Subjects.md","position":5,"original_position":5,"commit_id":"bef0e8730a57bb5aacf138a9707a58203b8c05af","original_commit_id":"bef0e8730a57bb5aacf138a9707a58203b8c05af","user":{"login":"waitingsong","id":1763067,"avatar_url":"https://avatars2.githubusercontent.com/u/1763067?v=4","gravatar_id":"","url":"https://api.github.com/users/waitingsong","html_url":"https://github.com/waitingsong","followers_url":"https://api.github.com/users/waitingsong/followers","following_url":"https://api.github.com/users/waitingsong/following{/other_user}","gists_url":"https://api.github.com/users/waitingsong/gists{/gist_id}","starred_url":"https://api.github.com/users/waitingsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waitingsong/subscriptions","organizations_url":"https://api.github.com/users/waitingsong/orgs","repos_url":"https://api.github.com/users/waitingsong/repos","events_url":"https://api.github.com/users/waitingsong/events{/privacy}","received_events_url":"https://api.github.com/users/waitingsong/received_events","type":"User","site_admin":false},"body":"原文不合适代码与合适代码的差别在于 obervable 和 addEventListener 谁包裹谁，所以``` is that the Observable is **wrapping** the registering of the handler on the button via addEventListener, ``` 这儿是以```wrapping```为动词来强调包裹。我如此修改是为了符合原文意思，并且与上文 ```理想的是**在 Observable 中包装事件注册**，既可以监听事件，又可以取消事件监听。```这句话做呼应——相同的主语、谓语、宾语。如此加强原文想要表达的含义。","created_at":"2018-02-08T11:24:43Z","updated_at":"2018-02-08T11:24:43Z","html_url":"https://github.com/RxJS-CN/rxjs-articles-translation/pull/2#discussion_r166905497","pull_request_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/2","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/comments/166905497"},"html":{"href":"https://github.com/RxJS-CN/rxjs-articles-translation/pull/2#discussion_r166905497"},"pull_request":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/2"}},"in_reply_to_id":166854933},"pull_request":{"url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/2","id":167578946,"html_url":"https://github.com/RxJS-CN/rxjs-articles-translation/pull/2","diff_url":"https://github.com/RxJS-CN/rxjs-articles-translation/pull/2.diff","patch_url":"https://github.com/RxJS-CN/rxjs-articles-translation/pull/2.patch","issue_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/issues/2","number":2,"state":"open","locked":false,"title":"docs: update translation of Understanding-The-Publish-And-Share-Operators.md","user":{"login":"waitingsong","id":1763067,"avatar_url":"https://avatars2.githubusercontent.com/u/1763067?v=4","gravatar_id":"","url":"https://api.github.com/users/waitingsong","html_url":"https://github.com/waitingsong","followers_url":"https://api.github.com/users/waitingsong/followers","following_url":"https://api.github.com/users/waitingsong/following{/other_user}","gists_url":"https://api.github.com/users/waitingsong/gists{/gist_id}","starred_url":"https://api.github.com/users/waitingsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waitingsong/subscriptions","organizations_url":"https://api.github.com/users/waitingsong/orgs","repos_url":"https://api.github.com/users/waitingsong/repos","events_url":"https://api.github.com/users/waitingsong/events{/privacy}","received_events_url":"https://api.github.com/users/waitingsong/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-07T01:54:41Z","updated_at":"2018-02-08T11:24:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bd3352f9d3c6739cc45e85b4deec1ad7b600791","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/2/commits","review_comments_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/2/comments","review_comment_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/issues/2/comments","statuses_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/statuses/bef0e8730a57bb5aacf138a9707a58203b8c05af","head":{"label":"waitingsong:dev","ref":"dev","sha":"bef0e8730a57bb5aacf138a9707a58203b8c05af","user":{"login":"waitingsong","id":1763067,"avatar_url":"https://avatars2.githubusercontent.com/u/1763067?v=4","gravatar_id":"","url":"https://api.github.com/users/waitingsong","html_url":"https://github.com/waitingsong","followers_url":"https://api.github.com/users/waitingsong/followers","following_url":"https://api.github.com/users/waitingsong/following{/other_user}","gists_url":"https://api.github.com/users/waitingsong/gists{/gist_id}","starred_url":"https://api.github.com/users/waitingsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waitingsong/subscriptions","organizations_url":"https://api.github.com/users/waitingsong/orgs","repos_url":"https://api.github.com/users/waitingsong/repos","events_url":"https://api.github.com/users/waitingsong/events{/privacy}","received_events_url":"https://api.github.com/users/waitingsong/received_events","type":"User","site_admin":false},"repo":{"id":120446209,"name":"rxjs-articles-translation","full_name":"waitingsong/rxjs-articles-translation","owner":{"login":"waitingsong","id":1763067,"avatar_url":"https://avatars2.githubusercontent.com/u/1763067?v=4","gravatar_id":"","url":"https://api.github.com/users/waitingsong","html_url":"https://github.com/waitingsong","followers_url":"https://api.github.com/users/waitingsong/followers","following_url":"https://api.github.com/users/waitingsong/following{/other_user}","gists_url":"https://api.github.com/users/waitingsong/gists{/gist_id}","starred_url":"https://api.github.com/users/waitingsong/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/waitingsong/subscriptions","organizations_url":"https://api.github.com/users/waitingsong/orgs","repos_url":"https://api.github.com/users/waitingsong/repos","events_url":"https://api.github.com/users/waitingsong/events{/privacy}","received_events_url":"https://api.github.com/users/waitingsong/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/waitingsong/rxjs-articles-translation","description":"RxJS 优质文章翻译","fork":true,"url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation","forks_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/forks","keys_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/teams","hooks_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/hooks","issue_events_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/issues/events{/number}","events_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/events","assignees_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/assignees{/user}","branches_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/branches{/branch}","tags_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/tags","blobs_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/git/refs{/sha}","trees_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/statuses/{sha}","languages_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/languages","stargazers_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/stargazers","contributors_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/contributors","subscribers_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/subscribers","subscription_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/subscription","commits_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/commits{/sha}","git_commits_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/git/commits{/sha}","comments_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/comments{/number}","issue_comment_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/issues/comments{/number}","contents_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/contents/{+path}","compare_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/merges","archive_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/downloads","issues_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/issues{/number}","pulls_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/pulls{/number}","milestones_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/milestones{/number}","notifications_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/labels{/name}","releases_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/releases{/id}","deployments_url":"https://api.github.com/repos/waitingsong/rxjs-articles-translation/deployments","created_at":"2018-02-06T11:35:41Z","updated_at":"2018-02-06T09:00:07Z","pushed_at":"2018-02-07T13:18:37Z","git_url":"git://github.com/waitingsong/rxjs-articles-translation.git","ssh_url":"git@github.com:waitingsong/rxjs-articles-translation.git","clone_url":"https://github.com/waitingsong/rxjs-articles-translation.git","svn_url":"https://github.com/waitingsong/rxjs-articles-translation","homepage":null,"size":14250,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"RxJS-CN:master","ref":"master","sha":"365964d7c4b8fead0050c19e6b5c9e7c1debab36","user":{"login":"RxJS-CN","id":25149487,"avatar_url":"https://avatars2.githubusercontent.com/u/25149487?v=4","gravatar_id":"","url":"https://api.github.com/users/RxJS-CN","html_url":"https://github.com/RxJS-CN","followers_url":"https://api.github.com/users/RxJS-CN/followers","following_url":"https://api.github.com/users/RxJS-CN/following{/other_user}","gists_url":"https://api.github.com/users/RxJS-CN/gists{/gist_id}","starred_url":"https://api.github.com/users/RxJS-CN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RxJS-CN/subscriptions","organizations_url":"https://api.github.com/users/RxJS-CN/orgs","repos_url":"https://api.github.com/users/RxJS-CN/repos","events_url":"https://api.github.com/users/RxJS-CN/events{/privacy}","received_events_url":"https://api.github.com/users/RxJS-CN/received_events","type":"Organization","site_admin":false},"repo":{"id":97283406,"name":"rxjs-articles-translation","full_name":"RxJS-CN/rxjs-articles-translation","owner":{"login":"RxJS-CN","id":25149487,"avatar_url":"https://avatars2.githubusercontent.com/u/25149487?v=4","gravatar_id":"","url":"https://api.github.com/users/RxJS-CN","html_url":"https://github.com/RxJS-CN","followers_url":"https://api.github.com/users/RxJS-CN/followers","following_url":"https://api.github.com/users/RxJS-CN/following{/other_user}","gists_url":"https://api.github.com/users/RxJS-CN/gists{/gist_id}","starred_url":"https://api.github.com/users/RxJS-CN/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RxJS-CN/subscriptions","organizations_url":"https://api.github.com/users/RxJS-CN/orgs","repos_url":"https://api.github.com/users/RxJS-CN/repos","events_url":"https://api.github.com/users/RxJS-CN/events{/privacy}","received_events_url":"https://api.github.com/users/RxJS-CN/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/RxJS-CN/rxjs-articles-translation","description":"RxJS 优质文章翻译","fork":false,"url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation","forks_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/forks","keys_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/teams","hooks_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/hooks","issue_events_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/issues/events{/number}","events_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/events","assignees_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/assignees{/user}","branches_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/branches{/branch}","tags_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/tags","blobs_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/git/refs{/sha}","trees_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/statuses/{sha}","languages_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/languages","stargazers_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/stargazers","contributors_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/contributors","subscribers_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/subscribers","subscription_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/subscription","commits_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/commits{/sha}","git_commits_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/git/commits{/sha}","comments_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/comments{/number}","issue_comment_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/issues/comments{/number}","contents_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/contents/{+path}","compare_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/merges","archive_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/downloads","issues_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/issues{/number}","pulls_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls{/number}","milestones_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/milestones{/number}","notifications_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/labels{/name}","releases_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/releases{/id}","deployments_url":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/deployments","created_at":"2017-07-15T01:00:02Z","updated_at":"2018-02-08T06:31:43Z","pushed_at":"2018-02-07T13:18:38Z","git_url":"git://github.com/RxJS-CN/rxjs-articles-translation.git","ssh_url":"git@github.com:RxJS-CN/rxjs-articles-translation.git","clone_url":"https://github.com/RxJS-CN/rxjs-articles-translation.git","svn_url":"https://github.com/RxJS-CN/rxjs-articles-translation","homepage":null,"size":14241,"stargazers_count":98,"watchers_count":98,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":15,"open_issues":1,"watchers":98,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/2"},"html":{"href":"https://github.com/RxJS-CN/rxjs-articles-translation/pull/2"},"issue":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/issues/2"},"comments":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/RxJS-CN/rxjs-articles-translation/statuses/bef0e8730a57bb5aacf138a9707a58203b8c05af"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"waitingsong"}}