{"action":"created","comment":{"url":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/comments/197651185","pull_request_review_id":131434635,"id":197651185,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NzY1MTE4NQ==","diff_hunk":"@@ -0,0 +1,33 @@\n+/**\n+ * Написать реализацию eventBus в соответствии с тестами\n+ */\n+function EventBus() {\n+    this.functionsBack = [];\n+}\n+EventBus.prototype.trigger = function trigger (key) {\n+    var i = 0;\n+    var args = [].slice.call(arguments);\n+    args.shift();\n+    if (this.functionsBack[key]) {\n+        for (i = 0; i < this.functionsBack[key].length; i++) {","path":"task-04/Fatexik/eventBus.js","position":12,"original_position":12,"commit_id":"f01aea79808f8066f260c0e66385d5bf8fe3606b","original_commit_id":"f01aea79808f8066f260c0e66385d5bf8fe3606b","user":{"login":"vvscode","id":6904368,"node_id":"MDQ6VXNlcjY5MDQzNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/6904368?v=4","gravatar_id":"","url":"https://api.github.com/users/vvscode","html_url":"https://github.com/vvscode","followers_url":"https://api.github.com/users/vvscode/followers","following_url":"https://api.github.com/users/vvscode/following{/other_user}","gists_url":"https://api.github.com/users/vvscode/gists{/gist_id}","starred_url":"https://api.github.com/users/vvscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvscode/subscriptions","organizations_url":"https://api.github.com/users/vvscode/orgs","repos_url":"https://api.github.com/users/vvscode/repos","events_url":"https://api.github.com/users/vvscode/events{/privacy}","received_events_url":"https://api.github.com/users/vvscode/received_events","type":"User","site_admin":false},"body":"`.forEach` у массива","created_at":"2018-06-24T19:59:41Z","updated_at":"2018-06-24T19:59:41Z","html_url":"https://github.com/vvscode/js--touchsoft/pull/58#discussion_r197651185","pull_request_url":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/58","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/comments/197651185"},"html":{"href":"https://github.com/vvscode/js--touchsoft/pull/58#discussion_r197651185"},"pull_request":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/58","id":196964748,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk2OTY0NzQ4","html_url":"https://github.com/vvscode/js--touchsoft/pull/58","diff_url":"https://github.com/vvscode/js--touchsoft/pull/58.diff","patch_url":"https://github.com/vvscode/js--touchsoft/pull/58.patch","issue_url":"https://api.github.com/repos/vvscode/js--touchsoft/issues/58","number":58,"state":"open","locked":false,"title":"Task 4","user":{"login":"fatexik","id":36490942,"node_id":"MDQ6VXNlcjM2NDkwOTQy","avatar_url":"https://avatars3.githubusercontent.com/u/36490942?v=4","gravatar_id":"","url":"https://api.github.com/users/fatexik","html_url":"https://github.com/fatexik","followers_url":"https://api.github.com/users/fatexik/followers","following_url":"https://api.github.com/users/fatexik/following{/other_user}","gists_url":"https://api.github.com/users/fatexik/gists{/gist_id}","starred_url":"https://api.github.com/users/fatexik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatexik/subscriptions","organizations_url":"https://api.github.com/users/fatexik/orgs","repos_url":"https://api.github.com/users/fatexik/repos","events_url":"https://api.github.com/users/fatexik/events{/privacy}","received_events_url":"https://api.github.com/users/fatexik/received_events","type":"User","site_admin":false},"body":"### Создавая пуллреквест, я:\r\n\r\n* [x] убедился, что `diff` измненеий содержит только одно домашнее задание (_1 PR = 1 домашнее задание_)\r\n\r\n- [x] убедился, что я изменял только файлы в своих директориях и не трогал общие файлы и файлы других студентов\r\n\r\n- [x] проверил, что закоментированный код удален (это не касается именно закоментированного кода, а не заданий и настроек)\r\n\r\n- [x] отформатировал мой код с помощью `prettier` - [prettier](http://prettier.io/)\r\n\r\n- [x] проверил именование переменных, фунций и методов и их соответвие соглашениям\r\n\r\n- [x] необходимые тесты написаны и успешно проходят\r\n","created_at":"2018-06-24T19:10:17Z","updated_at":"2018-06-24T19:59:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3bd74d9e84721cb632b6a458d61dc08c9b1f17de","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/58/commits","review_comments_url":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/58/comments","review_comment_url":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vvscode/js--touchsoft/issues/58/comments","statuses_url":"https://api.github.com/repos/vvscode/js--touchsoft/statuses/f01aea79808f8066f260c0e66385d5bf8fe3606b","head":{"label":"fatexik:master","ref":"master","sha":"f01aea79808f8066f260c0e66385d5bf8fe3606b","user":{"login":"fatexik","id":36490942,"node_id":"MDQ6VXNlcjM2NDkwOTQy","avatar_url":"https://avatars3.githubusercontent.com/u/36490942?v=4","gravatar_id":"","url":"https://api.github.com/users/fatexik","html_url":"https://github.com/fatexik","followers_url":"https://api.github.com/users/fatexik/followers","following_url":"https://api.github.com/users/fatexik/following{/other_user}","gists_url":"https://api.github.com/users/fatexik/gists{/gist_id}","starred_url":"https://api.github.com/users/fatexik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatexik/subscriptions","organizations_url":"https://api.github.com/users/fatexik/orgs","repos_url":"https://api.github.com/users/fatexik/repos","events_url":"https://api.github.com/users/fatexik/events{/privacy}","received_events_url":"https://api.github.com/users/fatexik/received_events","type":"User","site_admin":false},"repo":{"id":135084151,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUwODQxNTE=","name":"js--touchsoft","full_name":"fatexik/js--touchsoft","owner":{"login":"fatexik","id":36490942,"node_id":"MDQ6VXNlcjM2NDkwOTQy","avatar_url":"https://avatars3.githubusercontent.com/u/36490942?v=4","gravatar_id":"","url":"https://api.github.com/users/fatexik","html_url":"https://github.com/fatexik","followers_url":"https://api.github.com/users/fatexik/followers","following_url":"https://api.github.com/users/fatexik/following{/other_user}","gists_url":"https://api.github.com/users/fatexik/gists{/gist_id}","starred_url":"https://api.github.com/users/fatexik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fatexik/subscriptions","organizations_url":"https://api.github.com/users/fatexik/orgs","repos_url":"https://api.github.com/users/fatexik/repos","events_url":"https://api.github.com/users/fatexik/events{/privacy}","received_events_url":"https://api.github.com/users/fatexik/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/fatexik/js--touchsoft","description":"TouchSoft Js Course","fork":true,"url":"https://api.github.com/repos/fatexik/js--touchsoft","forks_url":"https://api.github.com/repos/fatexik/js--touchsoft/forks","keys_url":"https://api.github.com/repos/fatexik/js--touchsoft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fatexik/js--touchsoft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fatexik/js--touchsoft/teams","hooks_url":"https://api.github.com/repos/fatexik/js--touchsoft/hooks","issue_events_url":"https://api.github.com/repos/fatexik/js--touchsoft/issues/events{/number}","events_url":"https://api.github.com/repos/fatexik/js--touchsoft/events","assignees_url":"https://api.github.com/repos/fatexik/js--touchsoft/assignees{/user}","branches_url":"https://api.github.com/repos/fatexik/js--touchsoft/branches{/branch}","tags_url":"https://api.github.com/repos/fatexik/js--touchsoft/tags","blobs_url":"https://api.github.com/repos/fatexik/js--touchsoft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fatexik/js--touchsoft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fatexik/js--touchsoft/git/refs{/sha}","trees_url":"https://api.github.com/repos/fatexik/js--touchsoft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fatexik/js--touchsoft/statuses/{sha}","languages_url":"https://api.github.com/repos/fatexik/js--touchsoft/languages","stargazers_url":"https://api.github.com/repos/fatexik/js--touchsoft/stargazers","contributors_url":"https://api.github.com/repos/fatexik/js--touchsoft/contributors","subscribers_url":"https://api.github.com/repos/fatexik/js--touchsoft/subscribers","subscription_url":"https://api.github.com/repos/fatexik/js--touchsoft/subscription","commits_url":"https://api.github.com/repos/fatexik/js--touchsoft/commits{/sha}","git_commits_url":"https://api.github.com/repos/fatexik/js--touchsoft/git/commits{/sha}","comments_url":"https://api.github.com/repos/fatexik/js--touchsoft/comments{/number}","issue_comment_url":"https://api.github.com/repos/fatexik/js--touchsoft/issues/comments{/number}","contents_url":"https://api.github.com/repos/fatexik/js--touchsoft/contents/{+path}","compare_url":"https://api.github.com/repos/fatexik/js--touchsoft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fatexik/js--touchsoft/merges","archive_url":"https://api.github.com/repos/fatexik/js--touchsoft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fatexik/js--touchsoft/downloads","issues_url":"https://api.github.com/repos/fatexik/js--touchsoft/issues{/number}","pulls_url":"https://api.github.com/repos/fatexik/js--touchsoft/pulls{/number}","milestones_url":"https://api.github.com/repos/fatexik/js--touchsoft/milestones{/number}","notifications_url":"https://api.github.com/repos/fatexik/js--touchsoft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fatexik/js--touchsoft/labels{/name}","releases_url":"https://api.github.com/repos/fatexik/js--touchsoft/releases{/id}","deployments_url":"https://api.github.com/repos/fatexik/js--touchsoft/deployments","created_at":"2018-05-27T21:49:26Z","updated_at":"2018-06-24T19:43:40Z","pushed_at":"2018-06-24T19:43:38Z","git_url":"git://github.com/fatexik/js--touchsoft.git","ssh_url":"git@github.com:fatexik/js--touchsoft.git","clone_url":"https://github.com/fatexik/js--touchsoft.git","svn_url":"https://github.com/fatexik/js--touchsoft","homepage":null,"size":1429,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"vvscode:master","ref":"master","sha":"ebf65e81621142214925333675fb0ab9b931ca3e","user":{"login":"vvscode","id":6904368,"node_id":"MDQ6VXNlcjY5MDQzNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/6904368?v=4","gravatar_id":"","url":"https://api.github.com/users/vvscode","html_url":"https://github.com/vvscode","followers_url":"https://api.github.com/users/vvscode/followers","following_url":"https://api.github.com/users/vvscode/following{/other_user}","gists_url":"https://api.github.com/users/vvscode/gists{/gist_id}","starred_url":"https://api.github.com/users/vvscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvscode/subscriptions","organizations_url":"https://api.github.com/users/vvscode/orgs","repos_url":"https://api.github.com/users/vvscode/repos","events_url":"https://api.github.com/users/vvscode/events{/privacy}","received_events_url":"https://api.github.com/users/vvscode/received_events","type":"User","site_admin":false},"repo":{"id":134176658,"node_id":"MDEwOlJlcG9zaXRvcnkxMzQxNzY2NTg=","name":"js--touchsoft","full_name":"vvscode/js--touchsoft","owner":{"login":"vvscode","id":6904368,"node_id":"MDQ6VXNlcjY5MDQzNjg=","avatar_url":"https://avatars1.githubusercontent.com/u/6904368?v=4","gravatar_id":"","url":"https://api.github.com/users/vvscode","html_url":"https://github.com/vvscode","followers_url":"https://api.github.com/users/vvscode/followers","following_url":"https://api.github.com/users/vvscode/following{/other_user}","gists_url":"https://api.github.com/users/vvscode/gists{/gist_id}","starred_url":"https://api.github.com/users/vvscode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vvscode/subscriptions","organizations_url":"https://api.github.com/users/vvscode/orgs","repos_url":"https://api.github.com/users/vvscode/repos","events_url":"https://api.github.com/users/vvscode/events{/privacy}","received_events_url":"https://api.github.com/users/vvscode/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vvscode/js--touchsoft","description":"TouchSoft Js Course","fork":false,"url":"https://api.github.com/repos/vvscode/js--touchsoft","forks_url":"https://api.github.com/repos/vvscode/js--touchsoft/forks","keys_url":"https://api.github.com/repos/vvscode/js--touchsoft/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vvscode/js--touchsoft/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vvscode/js--touchsoft/teams","hooks_url":"https://api.github.com/repos/vvscode/js--touchsoft/hooks","issue_events_url":"https://api.github.com/repos/vvscode/js--touchsoft/issues/events{/number}","events_url":"https://api.github.com/repos/vvscode/js--touchsoft/events","assignees_url":"https://api.github.com/repos/vvscode/js--touchsoft/assignees{/user}","branches_url":"https://api.github.com/repos/vvscode/js--touchsoft/branches{/branch}","tags_url":"https://api.github.com/repos/vvscode/js--touchsoft/tags","blobs_url":"https://api.github.com/repos/vvscode/js--touchsoft/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vvscode/js--touchsoft/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vvscode/js--touchsoft/git/refs{/sha}","trees_url":"https://api.github.com/repos/vvscode/js--touchsoft/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vvscode/js--touchsoft/statuses/{sha}","languages_url":"https://api.github.com/repos/vvscode/js--touchsoft/languages","stargazers_url":"https://api.github.com/repos/vvscode/js--touchsoft/stargazers","contributors_url":"https://api.github.com/repos/vvscode/js--touchsoft/contributors","subscribers_url":"https://api.github.com/repos/vvscode/js--touchsoft/subscribers","subscription_url":"https://api.github.com/repos/vvscode/js--touchsoft/subscription","commits_url":"https://api.github.com/repos/vvscode/js--touchsoft/commits{/sha}","git_commits_url":"https://api.github.com/repos/vvscode/js--touchsoft/git/commits{/sha}","comments_url":"https://api.github.com/repos/vvscode/js--touchsoft/comments{/number}","issue_comment_url":"https://api.github.com/repos/vvscode/js--touchsoft/issues/comments{/number}","contents_url":"https://api.github.com/repos/vvscode/js--touchsoft/contents/{+path}","compare_url":"https://api.github.com/repos/vvscode/js--touchsoft/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vvscode/js--touchsoft/merges","archive_url":"https://api.github.com/repos/vvscode/js--touchsoft/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vvscode/js--touchsoft/downloads","issues_url":"https://api.github.com/repos/vvscode/js--touchsoft/issues{/number}","pulls_url":"https://api.github.com/repos/vvscode/js--touchsoft/pulls{/number}","milestones_url":"https://api.github.com/repos/vvscode/js--touchsoft/milestones{/number}","notifications_url":"https://api.github.com/repos/vvscode/js--touchsoft/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vvscode/js--touchsoft/labels{/name}","releases_url":"https://api.github.com/repos/vvscode/js--touchsoft/releases{/id}","deployments_url":"https://api.github.com/repos/vvscode/js--touchsoft/deployments","created_at":"2018-05-20T18:38:17Z","updated_at":"2018-06-21T20:51:59Z","pushed_at":"2018-06-24T19:43:39Z","git_url":"git://github.com/vvscode/js--touchsoft.git","ssh_url":"git@github.com:vvscode/js--touchsoft.git","clone_url":"https://github.com/vvscode/js--touchsoft.git","svn_url":"https://github.com/vvscode/js--touchsoft","homepage":null,"size":1353,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"archived":false,"open_issues_count":17,"license":null,"forks":18,"open_issues":17,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/58"},"html":{"href":"https://github.com/vvscode/js--touchsoft/pull/58"},"issue":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/issues/58"},"comments":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/vvscode/js--touchsoft/statuses/f01aea79808f8066f260c0e66385d5bf8fe3606b"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vvscode"}}