{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/comments/242455559","pull_request_review_id":185966219,"id":242455559,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjQ1NTU1OQ==","diff_hunk":"@@ -0,0 +1,21 @@\n+export default class Timer {\n+  constructor(time) {\n+    if (typeof time !== `number` || time < 0) {\n+      throw new Error(`Неверный формат времени: ${typeof time} ${time}`);\n+    }\n+\n+    this._time = time;\n+  }\n+\n+  get time() {\n+    return this._time;\n+  }\n+\n+  tick() {\n+    const TIME_ISEMPTY = 0;","path":"js/presenter/timer-presenter.js","position":15,"original_position":15,"commit_id":"d8836238983a6a9daeb7b865e200fe7a5320040d","original_commit_id":"f20257ad90f93eb9cd32cca62a0e297dc79db328","user":{"login":"copperkraft","id":19696618,"node_id":"MDQ6VXNlcjE5Njk2NjE4","avatar_url":"https://avatars3.githubusercontent.com/u/19696618?v=4","gravatar_id":"","url":"https://api.github.com/users/copperkraft","html_url":"https://github.com/copperkraft","followers_url":"https://api.github.com/users/copperkraft/followers","following_url":"https://api.github.com/users/copperkraft/following{/other_user}","gists_url":"https://api.github.com/users/copperkraft/gists{/gist_id}","starred_url":"https://api.github.com/users/copperkraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copperkraft/subscriptions","organizations_url":"https://api.github.com/users/copperkraft/orgs","repos_url":"https://api.github.com/users/copperkraft/repos","events_url":"https://api.github.com/users/copperkraft/events{/privacy}","received_events_url":"https://api.github.com/users/copperkraft/received_events","type":"User","site_admin":false},"body":"Лично я разрешаю не сохранять 0 как константу. Но не разрешаю использовать SNAKE_CASE для констант, объявленных во время выполнения. ","created_at":"2018-12-18T09:13:07Z","updated_at":"2018-12-18T09:13:08Z","html_url":"https://github.com/htmlacademy-ecmascript/915617-guess-melody/pull/9#discussion_r242455559","pull_request_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/9","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/comments/242455559"},"html":{"href":"https://github.com/htmlacademy-ecmascript/915617-guess-melody/pull/9#discussion_r242455559"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/9","id":239272595,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5MjcyNTk1","html_url":"https://github.com/htmlacademy-ecmascript/915617-guess-melody/pull/9","diff_url":"https://github.com/htmlacademy-ecmascript/915617-guess-melody/pull/9.diff","patch_url":"https://github.com/htmlacademy-ecmascript/915617-guess-melody/pull/9.patch","issue_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/issues/9","number":9,"state":"open","locked":false,"title":"Реконструкция","user":{"login":"Kotofeya","id":12612353,"node_id":"MDQ6VXNlcjEyNjEyMzUz","avatar_url":"https://avatars1.githubusercontent.com/u/12612353?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotofeya","html_url":"https://github.com/Kotofeya","followers_url":"https://api.github.com/users/Kotofeya/followers","following_url":"https://api.github.com/users/Kotofeya/following{/other_user}","gists_url":"https://api.github.com/users/Kotofeya/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotofeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotofeya/subscriptions","organizations_url":"https://api.github.com/users/Kotofeya/orgs","repos_url":"https://api.github.com/users/Kotofeya/repos","events_url":"https://api.github.com/users/Kotofeya/events{/privacy}","received_events_url":"https://api.github.com/users/Kotofeya/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Реконструкция](https://up.htmlacademy.ru/ecmascript/7/user/915617/tasks/10)\n\n:boom: https://htmlacademy-ecmascript.github.io/915617-guess-melody/9/","created_at":"2018-12-17T20:23:44Z","updated_at":"2018-12-18T09:13:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f02e6b69d40d5498994b4b3b3aa016e4368e58e","assignee":{"login":"copperkraft","id":19696618,"node_id":"MDQ6VXNlcjE5Njk2NjE4","avatar_url":"https://avatars3.githubusercontent.com/u/19696618?v=4","gravatar_id":"","url":"https://api.github.com/users/copperkraft","html_url":"https://github.com/copperkraft","followers_url":"https://api.github.com/users/copperkraft/followers","following_url":"https://api.github.com/users/copperkraft/following{/other_user}","gists_url":"https://api.github.com/users/copperkraft/gists{/gist_id}","starred_url":"https://api.github.com/users/copperkraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copperkraft/subscriptions","organizations_url":"https://api.github.com/users/copperkraft/orgs","repos_url":"https://api.github.com/users/copperkraft/repos","events_url":"https://api.github.com/users/copperkraft/events{/privacy}","received_events_url":"https://api.github.com/users/copperkraft/received_events","type":"User","site_admin":false},"assignees":[{"login":"copperkraft","id":19696618,"node_id":"MDQ6VXNlcjE5Njk2NjE4","avatar_url":"https://avatars3.githubusercontent.com/u/19696618?v=4","gravatar_id":"","url":"https://api.github.com/users/copperkraft","html_url":"https://github.com/copperkraft","followers_url":"https://api.github.com/users/copperkraft/followers","following_url":"https://api.github.com/users/copperkraft/following{/other_user}","gists_url":"https://api.github.com/users/copperkraft/gists{/gist_id}","starred_url":"https://api.github.com/users/copperkraft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/copperkraft/subscriptions","organizations_url":"https://api.github.com/users/copperkraft/orgs","repos_url":"https://api.github.com/users/copperkraft/repos","events_url":"https://api.github.com/users/copperkraft/events{/privacy}","received_events_url":"https://api.github.com/users/copperkraft/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/9/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/9/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/issues/9/comments","statuses_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/statuses/d8836238983a6a9daeb7b865e200fe7a5320040d","head":{"label":"Kotofeya:module6-task1","ref":"module6-task1","sha":"d8836238983a6a9daeb7b865e200fe7a5320040d","user":{"login":"Kotofeya","id":12612353,"node_id":"MDQ6VXNlcjEyNjEyMzUz","avatar_url":"https://avatars1.githubusercontent.com/u/12612353?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotofeya","html_url":"https://github.com/Kotofeya","followers_url":"https://api.github.com/users/Kotofeya/followers","following_url":"https://api.github.com/users/Kotofeya/following{/other_user}","gists_url":"https://api.github.com/users/Kotofeya/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotofeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotofeya/subscriptions","organizations_url":"https://api.github.com/users/Kotofeya/orgs","repos_url":"https://api.github.com/users/Kotofeya/repos","events_url":"https://api.github.com/users/Kotofeya/events{/privacy}","received_events_url":"https://api.github.com/users/Kotofeya/received_events","type":"User","site_admin":false},"repo":{"id":157427633,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc0Mjc2MzM=","name":"915617-guess-melody","full_name":"Kotofeya/915617-guess-melody","private":false,"owner":{"login":"Kotofeya","id":12612353,"node_id":"MDQ6VXNlcjEyNjEyMzUz","avatar_url":"https://avatars1.githubusercontent.com/u/12612353?v=4","gravatar_id":"","url":"https://api.github.com/users/Kotofeya","html_url":"https://github.com/Kotofeya","followers_url":"https://api.github.com/users/Kotofeya/followers","following_url":"https://api.github.com/users/Kotofeya/following{/other_user}","gists_url":"https://api.github.com/users/Kotofeya/gists{/gist_id}","starred_url":"https://api.github.com/users/Kotofeya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kotofeya/subscriptions","organizations_url":"https://api.github.com/users/Kotofeya/orgs","repos_url":"https://api.github.com/users/Kotofeya/repos","events_url":"https://api.github.com/users/Kotofeya/events{/privacy}","received_events_url":"https://api.github.com/users/Kotofeya/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Kotofeya/915617-guess-melody","description":"Дарья Янкевич","fork":true,"url":"https://api.github.com/repos/Kotofeya/915617-guess-melody","forks_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/forks","keys_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/teams","hooks_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/hooks","issue_events_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/issues/events{/number}","events_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/events","assignees_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/assignees{/user}","branches_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/branches{/branch}","tags_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/tags","blobs_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/statuses/{sha}","languages_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/languages","stargazers_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/stargazers","contributors_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/contributors","subscribers_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/subscribers","subscription_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/subscription","commits_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/contents/{+path}","compare_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/merges","archive_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/downloads","issues_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/issues{/number}","pulls_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/pulls{/number}","milestones_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/milestones{/number}","notifications_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/labels{/name}","releases_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/releases{/id}","deployments_url":"https://api.github.com/repos/Kotofeya/915617-guess-melody/deployments","created_at":"2018-11-13T18:34:43Z","updated_at":"2018-12-11T20:07:21Z","pushed_at":"2018-12-18T09:05:57Z","git_url":"git://github.com/Kotofeya/915617-guess-melody.git","ssh_url":"git@github.com:Kotofeya/915617-guess-melody.git","clone_url":"https://github.com/Kotofeya/915617-guess-melody.git","svn_url":"https://github.com/Kotofeya/915617-guess-melody","homepage":null,"size":2126,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"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":"htmlacademy-ecmascript:master","ref":"master","sha":"6094fb301701062f105823566997dc73e358c185","user":{"login":"htmlacademy-ecmascript","id":22890904,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODkwOTA0","avatar_url":"https://avatars2.githubusercontent.com/u/22890904?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-ecmascript","html_url":"https://github.com/htmlacademy-ecmascript","followers_url":"https://api.github.com/users/htmlacademy-ecmascript/followers","following_url":"https://api.github.com/users/htmlacademy-ecmascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-ecmascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-ecmascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-ecmascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-ecmascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-ecmascript/repos","events_url":"https://api.github.com/users/htmlacademy-ecmascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-ecmascript/received_events","type":"Organization","site_admin":false},"repo":{"id":157269750,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcyNjk3NTA=","name":"915617-guess-melody","full_name":"htmlacademy-ecmascript/915617-guess-melody","private":false,"owner":{"login":"htmlacademy-ecmascript","id":22890904,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODkwOTA0","avatar_url":"https://avatars2.githubusercontent.com/u/22890904?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-ecmascript","html_url":"https://github.com/htmlacademy-ecmascript","followers_url":"https://api.github.com/users/htmlacademy-ecmascript/followers","following_url":"https://api.github.com/users/htmlacademy-ecmascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-ecmascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-ecmascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-ecmascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-ecmascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-ecmascript/repos","events_url":"https://api.github.com/users/htmlacademy-ecmascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-ecmascript/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/htmlacademy-ecmascript/915617-guess-melody","description":"Дарья Янкевич","fork":false,"url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody","forks_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/forks","keys_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/teams","hooks_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/events","assignees_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/tags","blobs_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/subscription","commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/merges","archive_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/downloads","issues_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/deployments","created_at":"2018-11-12T20:06:03Z","updated_at":"2018-12-11T14:06:40Z","pushed_at":"2018-12-18T09:05:59Z","git_url":"git://github.com/htmlacademy-ecmascript/915617-guess-melody.git","ssh_url":"git@github.com:htmlacademy-ecmascript/915617-guess-melody.git","clone_url":"https://github.com/htmlacademy-ecmascript/915617-guess-melody.git","svn_url":"https://github.com/htmlacademy-ecmascript/915617-guess-melody","homepage":"https://github.com/Kotofeya/915617-guess-melody","size":2178,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/9"},"html":{"href":"https://github.com/htmlacademy-ecmascript/915617-guess-melody/pull/9"},"issue":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/issues/9"},"comments":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/915617-guess-melody/statuses/d8836238983a6a9daeb7b865e200fe7a5320040d"}},"author_association":"NONE"}}
{"actor":{"display_login":"copperkraft"}}