{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/comments/91861816","pull_request_review_id":12371782,"id":91861816,"diff_hunk":"@@ -6,6 +6,109 @@\n  */\n exports.isStar = true;\n \n+var WEEK_DAYS = ['ВС', 'ПН', 'ВТ', 'СР', 'ЧТ', 'ПТ', 'СБ'];\n+var WEEK_DAYS_ROBBERY = ['ПН', 'ВТ', 'СР'];","path":"robbery.js","position":5,"original_position":5,"commit_id":"dfd418483d0ca2011f74b98f6ded931933961dc2","original_commit_id":"dfd418483d0ca2011f74b98f6ded931933961dc2","user":{"login":"sameoldmadness","id":1537724,"avatar_url":"https://avatars.githubusercontent.com/u/1537724?v=3","gravatar_id":"","url":"https://api.github.com/users/sameoldmadness","html_url":"https://github.com/sameoldmadness","followers_url":"https://api.github.com/users/sameoldmadness/followers","following_url":"https://api.github.com/users/sameoldmadness/following{/other_user}","gists_url":"https://api.github.com/users/sameoldmadness/gists{/gist_id}","starred_url":"https://api.github.com/users/sameoldmadness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameoldmadness/subscriptions","organizations_url":"https://api.github.com/users/sameoldmadness/orgs","repos_url":"https://api.github.com/users/sameoldmadness/repos","events_url":"https://api.github.com/users/sameoldmadness/events{/privacy}","received_events_url":"https://api.github.com/users/sameoldmadness/received_events","type":"User","site_admin":false},"body":"Название дней недели в коде дублируются трижды, хотя можно обойтись одним разом. Например, здесь\r\n\r\n```js\r\nvar WEEK_DAYS_ROBBERY = WEEK_DAYS.slice(1, 3);\r\n```","created_at":"2016-12-11T18:36:11Z","updated_at":"2016-12-11T18:36:11Z","html_url":"https://github.com/urfu-2016/javascript-task-3/pull/34#discussion_r91861816","pull_request_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/comments/91861816"},"html":{"href":"https://github.com/urfu-2016/javascript-task-3/pull/34#discussion_r91861816"},"pull_request":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/34","id":90641276,"html_url":"https://github.com/urfu-2016/javascript-task-3/pull/34","diff_url":"https://github.com/urfu-2016/javascript-task-3/pull/34.diff","patch_url":"https://github.com/urfu-2016/javascript-task-3/pull/34.patch","issue_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/34","number":34,"state":"open","locked":false,"title":"Шмакова Мария","user":{"login":"MariaShmakova","id":7329814,"avatar_url":"https://avatars.githubusercontent.com/u/7329814?v=3","gravatar_id":"","url":"https://api.github.com/users/MariaShmakova","html_url":"https://github.com/MariaShmakova","followers_url":"https://api.github.com/users/MariaShmakova/followers","following_url":"https://api.github.com/users/MariaShmakova/following{/other_user}","gists_url":"https://api.github.com/users/MariaShmakova/gists{/gist_id}","starred_url":"https://api.github.com/users/MariaShmakova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MariaShmakova/subscriptions","organizations_url":"https://api.github.com/users/MariaShmakova/orgs","repos_url":"https://api.github.com/users/MariaShmakova/repos","events_url":"https://api.github.com/users/MariaShmakova/events{/privacy}","received_events_url":"https://api.github.com/users/MariaShmakova/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-24T15:55:46Z","updated_at":"2016-12-11T18:50:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"71b16e047a6e91efaa0530e59a57f964ffb901bf","assignee":{"login":"sameoldmadness","id":1537724,"avatar_url":"https://avatars.githubusercontent.com/u/1537724?v=3","gravatar_id":"","url":"https://api.github.com/users/sameoldmadness","html_url":"https://github.com/sameoldmadness","followers_url":"https://api.github.com/users/sameoldmadness/followers","following_url":"https://api.github.com/users/sameoldmadness/following{/other_user}","gists_url":"https://api.github.com/users/sameoldmadness/gists{/gist_id}","starred_url":"https://api.github.com/users/sameoldmadness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameoldmadness/subscriptions","organizations_url":"https://api.github.com/users/sameoldmadness/orgs","repos_url":"https://api.github.com/users/sameoldmadness/repos","events_url":"https://api.github.com/users/sameoldmadness/events{/privacy}","received_events_url":"https://api.github.com/users/sameoldmadness/received_events","type":"User","site_admin":false},"assignees":[{"login":"sameoldmadness","id":1537724,"avatar_url":"https://avatars.githubusercontent.com/u/1537724?v=3","gravatar_id":"","url":"https://api.github.com/users/sameoldmadness","html_url":"https://github.com/sameoldmadness","followers_url":"https://api.github.com/users/sameoldmadness/followers","following_url":"https://api.github.com/users/sameoldmadness/following{/other_user}","gists_url":"https://api.github.com/users/sameoldmadness/gists{/gist_id}","starred_url":"https://api.github.com/users/sameoldmadness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameoldmadness/subscriptions","organizations_url":"https://api.github.com/users/sameoldmadness/orgs","repos_url":"https://api.github.com/users/sameoldmadness/repos","events_url":"https://api.github.com/users/sameoldmadness/events{/privacy}","received_events_url":"https://api.github.com/users/sameoldmadness/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/34/commits","review_comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/34/comments","review_comment_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/34/comments","statuses_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/statuses/dfd418483d0ca2011f74b98f6ded931933961dc2","head":{"label":"MariaShmakova:master","ref":"master","sha":"dfd418483d0ca2011f74b98f6ded931933961dc2","user":{"login":"MariaShmakova","id":7329814,"avatar_url":"https://avatars.githubusercontent.com/u/7329814?v=3","gravatar_id":"","url":"https://api.github.com/users/MariaShmakova","html_url":"https://github.com/MariaShmakova","followers_url":"https://api.github.com/users/MariaShmakova/followers","following_url":"https://api.github.com/users/MariaShmakova/following{/other_user}","gists_url":"https://api.github.com/users/MariaShmakova/gists{/gist_id}","starred_url":"https://api.github.com/users/MariaShmakova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MariaShmakova/subscriptions","organizations_url":"https://api.github.com/users/MariaShmakova/orgs","repos_url":"https://api.github.com/users/MariaShmakova/repos","events_url":"https://api.github.com/users/MariaShmakova/events{/privacy}","received_events_url":"https://api.github.com/users/MariaShmakova/received_events","type":"User","site_admin":false},"repo":{"id":71804663,"name":"javascript-task-3","full_name":"MariaShmakova/javascript-task-3","owner":{"login":"MariaShmakova","id":7329814,"avatar_url":"https://avatars.githubusercontent.com/u/7329814?v=3","gravatar_id":"","url":"https://api.github.com/users/MariaShmakova","html_url":"https://github.com/MariaShmakova","followers_url":"https://api.github.com/users/MariaShmakova/followers","following_url":"https://api.github.com/users/MariaShmakova/following{/other_user}","gists_url":"https://api.github.com/users/MariaShmakova/gists{/gist_id}","starred_url":"https://api.github.com/users/MariaShmakova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MariaShmakova/subscriptions","organizations_url":"https://api.github.com/users/MariaShmakova/orgs","repos_url":"https://api.github.com/users/MariaShmakova/repos","events_url":"https://api.github.com/users/MariaShmakova/events{/privacy}","received_events_url":"https://api.github.com/users/MariaShmakova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MariaShmakova/javascript-task-3","description":"Задача «0b11 друзей Оушена»","fork":true,"url":"https://api.github.com/repos/MariaShmakova/javascript-task-3","forks_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/forks","keys_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/teams","hooks_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/hooks","issue_events_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/issues/events{/number}","events_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/events","assignees_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/assignees{/user}","branches_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/branches{/branch}","tags_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/tags","blobs_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/statuses/{sha}","languages_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/languages","stargazers_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/stargazers","contributors_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/contributors","subscribers_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/subscribers","subscription_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/subscription","commits_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/contents/{+path}","compare_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/merges","archive_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/downloads","issues_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/issues{/number}","pulls_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/pulls{/number}","milestones_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/milestones{/number}","notifications_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/labels{/name}","releases_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/releases{/id}","deployments_url":"https://api.github.com/repos/MariaShmakova/javascript-task-3/deployments","created_at":"2016-10-24T15:45:12Z","updated_at":"2016-10-24T15:45:13Z","pushed_at":"2016-12-09T20:04:55Z","git_url":"git://github.com/MariaShmakova/javascript-task-3.git","ssh_url":"git@github.com:MariaShmakova/javascript-task-3.git","clone_url":"https://github.com/MariaShmakova/javascript-task-3.git","svn_url":"https://github.com/MariaShmakova/javascript-task-3","homepage":"","size":28,"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":"bbdd8da0f05059541027bd2efc6038893eaaf2ae","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":71448848,"name":"javascript-task-3","full_name":"urfu-2016/javascript-task-3","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-3","description":"Задача «0b11 друзей Оушена»","fork":false,"url":"https://api.github.com/repos/urfu-2016/javascript-task-3","forks_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/forks","keys_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/teams","hooks_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/hooks","issue_events_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/events","assignees_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/tags","blobs_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/languages","stargazers_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/stargazers","contributors_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/contributors","subscribers_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/subscribers","subscription_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/subscription","commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/merges","archive_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/downloads","issues_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2016/javascript-task-3/deployments","created_at":"2016-10-20T09:49:39Z","updated_at":"2016-10-23T04:31:46Z","pushed_at":"2016-12-11T08:58:59Z","git_url":"git://github.com/urfu-2016/javascript-task-3.git","ssh_url":"git@github.com:urfu-2016/javascript-task-3.git","clone_url":"https://github.com/urfu-2016/javascript-task-3.git","svn_url":"https://github.com/urfu-2016/javascript-task-3","homepage":"","size":111,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":93,"mirror_url":null,"open_issues_count":23,"forks":93,"open_issues":23,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/34"},"html":{"href":"https://github.com/urfu-2016/javascript-task-3/pull/34"},"issue":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/34"},"comments":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2016/javascript-task-3/statuses/dfd418483d0ca2011f74b98f6ded931933961dc2"}}}}
{"actor":{"display_login":"sameoldmadness"}}