{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/comments/87711882","pull_request_review_id":8314697,"id":87711882,"diff_hunk":"@@ -48,9 +124,16 @@ function getEmitter() {\n          * @param {Object} context\n          * @param {Function} handler\n          * @param {Number} times – сколько раз получить уведомление\n+         * @returns {Object}\n          */\n         several: function (event, context, handler, times) {\n-            console.info(event, context, handler, times);\n+            // console.info(event, context, handler, times);\n+            times = times > 0 ? times : undefined;\n+            var subscribeInfo = { event: event, context: context,\n+                handler: handler, times: times };","path":"emitter.js","position":129,"original_position":129,"commit_id":"392869c0d4b0455fb7369105836bf8036a530ec3","original_commit_id":"392869c0d4b0455fb7369105836bf8036a530ec3","user":{"login":"msmirnov","id":2646531,"avatar_url":"https://avatars.githubusercontent.com/u/2646531?v=3","gravatar_id":"","url":"https://api.github.com/users/msmirnov","html_url":"https://github.com/msmirnov","followers_url":"https://api.github.com/users/msmirnov/followers","following_url":"https://api.github.com/users/msmirnov/following{/other_user}","gists_url":"https://api.github.com/users/msmirnov/gists{/gist_id}","starred_url":"https://api.github.com/users/msmirnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmirnov/subscriptions","organizations_url":"https://api.github.com/users/msmirnov/orgs","repos_url":"https://api.github.com/users/msmirnov/repos","events_url":"https://api.github.com/users/msmirnov/events{/privacy}","received_events_url":"https://api.github.com/users/msmirnov/received_events","type":"User","site_admin":false},"body":"Также странный перенос. Когда в объекте много свойств, лучше писать каждое на новой строке.","created_at":"2016-11-13T13:03:40Z","updated_at":"2016-11-13T13:05:49Z","html_url":"https://github.com/urfu-2016/javascript-task-5/pull/21#discussion_r87711882","pull_request_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/21","_links":{"self":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/comments/87711882"},"html":{"href":"https://github.com/urfu-2016/javascript-task-5/pull/21#discussion_r87711882"},"pull_request":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/21"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/21","id":92508457,"html_url":"https://github.com/urfu-2016/javascript-task-5/pull/21","diff_url":"https://github.com/urfu-2016/javascript-task-5/pull/21.diff","patch_url":"https://github.com/urfu-2016/javascript-task-5/pull/21.patch","issue_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/issues/21","number":21,"state":"open","locked":false,"title":"Власов Сергей","user":{"login":"svl96","id":15161092,"avatar_url":"https://avatars.githubusercontent.com/u/15161092?v=3","gravatar_id":"","url":"https://api.github.com/users/svl96","html_url":"https://github.com/svl96","followers_url":"https://api.github.com/users/svl96/followers","following_url":"https://api.github.com/users/svl96/following{/other_user}","gists_url":"https://api.github.com/users/svl96/gists{/gist_id}","starred_url":"https://api.github.com/users/svl96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svl96/subscriptions","organizations_url":"https://api.github.com/users/svl96/orgs","repos_url":"https://api.github.com/users/svl96/repos","events_url":"https://api.github.com/users/svl96/events{/privacy}","received_events_url":"https://api.github.com/users/svl96/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-06T23:47:55Z","updated_at":"2016-11-13T13:05:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4bd244a5516d9a144aa3a44b8d5530f5cbb2412f","assignee":{"login":"msmirnov","id":2646531,"avatar_url":"https://avatars.githubusercontent.com/u/2646531?v=3","gravatar_id":"","url":"https://api.github.com/users/msmirnov","html_url":"https://github.com/msmirnov","followers_url":"https://api.github.com/users/msmirnov/followers","following_url":"https://api.github.com/users/msmirnov/following{/other_user}","gists_url":"https://api.github.com/users/msmirnov/gists{/gist_id}","starred_url":"https://api.github.com/users/msmirnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmirnov/subscriptions","organizations_url":"https://api.github.com/users/msmirnov/orgs","repos_url":"https://api.github.com/users/msmirnov/repos","events_url":"https://api.github.com/users/msmirnov/events{/privacy}","received_events_url":"https://api.github.com/users/msmirnov/received_events","type":"User","site_admin":false},"assignees":[{"login":"msmirnov","id":2646531,"avatar_url":"https://avatars.githubusercontent.com/u/2646531?v=3","gravatar_id":"","url":"https://api.github.com/users/msmirnov","html_url":"https://github.com/msmirnov","followers_url":"https://api.github.com/users/msmirnov/followers","following_url":"https://api.github.com/users/msmirnov/following{/other_user}","gists_url":"https://api.github.com/users/msmirnov/gists{/gist_id}","starred_url":"https://api.github.com/users/msmirnov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msmirnov/subscriptions","organizations_url":"https://api.github.com/users/msmirnov/orgs","repos_url":"https://api.github.com/users/msmirnov/repos","events_url":"https://api.github.com/users/msmirnov/events{/privacy}","received_events_url":"https://api.github.com/users/msmirnov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/21/commits","review_comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/21/comments","review_comment_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/issues/21/comments","statuses_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/statuses/392869c0d4b0455fb7369105836bf8036a530ec3","head":{"label":"svl96:master","ref":"master","sha":"392869c0d4b0455fb7369105836bf8036a530ec3","user":{"login":"svl96","id":15161092,"avatar_url":"https://avatars.githubusercontent.com/u/15161092?v=3","gravatar_id":"","url":"https://api.github.com/users/svl96","html_url":"https://github.com/svl96","followers_url":"https://api.github.com/users/svl96/followers","following_url":"https://api.github.com/users/svl96/following{/other_user}","gists_url":"https://api.github.com/users/svl96/gists{/gist_id}","starred_url":"https://api.github.com/users/svl96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svl96/subscriptions","organizations_url":"https://api.github.com/users/svl96/orgs","repos_url":"https://api.github.com/users/svl96/repos","events_url":"https://api.github.com/users/svl96/events{/privacy}","received_events_url":"https://api.github.com/users/svl96/received_events","type":"User","site_admin":false},"repo":{"id":72889160,"name":"javascript-task-5","full_name":"svl96/javascript-task-5","owner":{"login":"svl96","id":15161092,"avatar_url":"https://avatars.githubusercontent.com/u/15161092?v=3","gravatar_id":"","url":"https://api.github.com/users/svl96","html_url":"https://github.com/svl96","followers_url":"https://api.github.com/users/svl96/followers","following_url":"https://api.github.com/users/svl96/following{/other_user}","gists_url":"https://api.github.com/users/svl96/gists{/gist_id}","starred_url":"https://api.github.com/users/svl96/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svl96/subscriptions","organizations_url":"https://api.github.com/users/svl96/orgs","repos_url":"https://api.github.com/users/svl96/repos","events_url":"https://api.github.com/users/svl96/events{/privacy}","received_events_url":"https://api.github.com/users/svl96/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svl96/javascript-task-5","description":"Задача «Пора на лекцию»","fork":true,"url":"https://api.github.com/repos/svl96/javascript-task-5","forks_url":"https://api.github.com/repos/svl96/javascript-task-5/forks","keys_url":"https://api.github.com/repos/svl96/javascript-task-5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svl96/javascript-task-5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svl96/javascript-task-5/teams","hooks_url":"https://api.github.com/repos/svl96/javascript-task-5/hooks","issue_events_url":"https://api.github.com/repos/svl96/javascript-task-5/issues/events{/number}","events_url":"https://api.github.com/repos/svl96/javascript-task-5/events","assignees_url":"https://api.github.com/repos/svl96/javascript-task-5/assignees{/user}","branches_url":"https://api.github.com/repos/svl96/javascript-task-5/branches{/branch}","tags_url":"https://api.github.com/repos/svl96/javascript-task-5/tags","blobs_url":"https://api.github.com/repos/svl96/javascript-task-5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svl96/javascript-task-5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svl96/javascript-task-5/git/refs{/sha}","trees_url":"https://api.github.com/repos/svl96/javascript-task-5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svl96/javascript-task-5/statuses/{sha}","languages_url":"https://api.github.com/repos/svl96/javascript-task-5/languages","stargazers_url":"https://api.github.com/repos/svl96/javascript-task-5/stargazers","contributors_url":"https://api.github.com/repos/svl96/javascript-task-5/contributors","subscribers_url":"https://api.github.com/repos/svl96/javascript-task-5/subscribers","subscription_url":"https://api.github.com/repos/svl96/javascript-task-5/subscription","commits_url":"https://api.github.com/repos/svl96/javascript-task-5/commits{/sha}","git_commits_url":"https://api.github.com/repos/svl96/javascript-task-5/git/commits{/sha}","comments_url":"https://api.github.com/repos/svl96/javascript-task-5/comments{/number}","issue_comment_url":"https://api.github.com/repos/svl96/javascript-task-5/issues/comments{/number}","contents_url":"https://api.github.com/repos/svl96/javascript-task-5/contents/{+path}","compare_url":"https://api.github.com/repos/svl96/javascript-task-5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svl96/javascript-task-5/merges","archive_url":"https://api.github.com/repos/svl96/javascript-task-5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svl96/javascript-task-5/downloads","issues_url":"https://api.github.com/repos/svl96/javascript-task-5/issues{/number}","pulls_url":"https://api.github.com/repos/svl96/javascript-task-5/pulls{/number}","milestones_url":"https://api.github.com/repos/svl96/javascript-task-5/milestones{/number}","notifications_url":"https://api.github.com/repos/svl96/javascript-task-5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svl96/javascript-task-5/labels{/name}","releases_url":"https://api.github.com/repos/svl96/javascript-task-5/releases{/id}","deployments_url":"https://api.github.com/repos/svl96/javascript-task-5/deployments","created_at":"2016-11-04T22:12:51Z","updated_at":"2016-11-04T22:12:52Z","pushed_at":"2016-11-10T03:04:29Z","git_url":"git://github.com/svl96/javascript-task-5.git","ssh_url":"git@github.com:svl96/javascript-task-5.git","clone_url":"https://github.com/svl96/javascript-task-5.git","svn_url":"https://github.com/svl96/javascript-task-5","homepage":"","size":9,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"urfu-2016:master","ref":"master","sha":"563654f35c98e52f1903ca1d4781372abdfb400e","user":{"login":"urfu-2016","id":22170529,"avatar_url":"https://avatars.githubusercontent.com/u/22170529?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2016","html_url":"https://github.com/urfu-2016","followers_url":"https://api.github.com/users/urfu-2016/followers","following_url":"https://api.github.com/users/urfu-2016/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2016/subscriptions","organizations_url":"https://api.github.com/users/urfu-2016/orgs","repos_url":"https://api.github.com/users/urfu-2016/repos","events_url":"https://api.github.com/users/urfu-2016/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2016/received_events","type":"Organization","site_admin":false},"repo":{"id":72473952,"name":"javascript-task-5","full_name":"urfu-2016/javascript-task-5","owner":{"login":"urfu-2016","id":22170529,"avatar_url":"https://avatars.githubusercontent.com/u/22170529?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2016","html_url":"https://github.com/urfu-2016","followers_url":"https://api.github.com/users/urfu-2016/followers","following_url":"https://api.github.com/users/urfu-2016/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2016/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2016/subscriptions","organizations_url":"https://api.github.com/users/urfu-2016/orgs","repos_url":"https://api.github.com/users/urfu-2016/repos","events_url":"https://api.github.com/users/urfu-2016/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urfu-2016/javascript-task-5","description":"Задача «Пора на лекцию»","fork":false,"url":"https://api.github.com/repos/urfu-2016/javascript-task-5","forks_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/forks","keys_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/teams","hooks_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/hooks","issue_events_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/events","assignees_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/tags","blobs_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/languages","stargazers_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/stargazers","contributors_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/contributors","subscribers_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/subscribers","subscription_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/subscription","commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/merges","archive_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/downloads","issues_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2016/javascript-task-5/deployments","created_at":"2016-10-31T20:11:32Z","updated_at":"2016-11-03T13:58:41Z","pushed_at":"2016-11-13T12:17:04Z","git_url":"git://github.com/urfu-2016/javascript-task-5.git","ssh_url":"git@github.com:urfu-2016/javascript-task-5.git","clone_url":"https://github.com/urfu-2016/javascript-task-5.git","svn_url":"https://github.com/urfu-2016/javascript-task-5","homepage":"","size":158,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":42,"forks":71,"open_issues":42,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/21"},"html":{"href":"https://github.com/urfu-2016/javascript-task-5/pull/21"},"issue":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/issues/21"},"comments":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-5/statuses/392869c0d4b0455fb7369105836bf8036a530ec3"}}}}
{"actor":{"display_login":"msmirnov"}}