{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/comments/120326043","pull_request_review_id":42277959,"id":120326043,"diff_hunk":"@@ -0,0 +1,69 @@\n+export const welcomeState = Object.freeze({\n+  rules: `Правила просты&nbsp;— за&nbsp;2 минуты дать\n+      максимальное количество правильных ответов.<br>\n+      Удачи!`\n+});\n+\n+export const genreQuestions = Object.freeze({\n+  question1: {\n+    id: 1,\n+    task: `Выберите jazz треки`,\n+    answers: [\n+      {\n+        id: 1,\n+        songUri: `./music/Bluesy_Vibes.mp3`\n+      },\n+      {\n+        id: 2,\n+        songUri: `./music/Dutty.mp3`\n+      },\n+      {\n+        id: 3,\n+        songUri: `./music/Where_She_Walks.mp3`\n+      },\n+      {\n+        id: 4,\n+        songUri: `./music/Very_Right.mp3`\n+      }\n+    ],\n+    answerIds: new Set(),\n+    next: null\n+  }\n+});\n+\n+export const artistQuestions = Object.freeze({\n+  question1: {\n+    id: 1,\n+    songUri: `./music/Dana.mp3`,\n+    task: `Кто исполняет эту песню?`,\n+    answers: [\n+      {\n+        id: 1,\n+        text: `Madonna`\n+      },\n+      {\n+        id: 2,\n+        text: `Ace of Base`\n+      },\n+      {\n+        id: 3,\n+        text: `Dana`\n+      }\n+    ],\n+    answerId: null,\n+    next: genreQuestions.question1\n+  }\n+});\n+\n+export const successResult = Object.freeze({\n+  isSuccess: true,\n+  title: `Вы настоящий меломан!`,\n+  text: `За&nbsp;2&nbsp;минуты<br>вы&nbsp;отгадали 4&nbsp;мелодии`,","path":"js/state.js","position":61,"original_position":61,"commit_id":"f0abc1f620ffd6c4ee63a8cc7860c285ef893c10","original_commit_id":"f0abc1f620ffd6c4ee63a8cc7860c285ef893c10","user":{"login":"Zhigalov","id":1654243,"avatar_url":"https://avatars1.githubusercontent.com/u/1654243?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhigalov","html_url":"https://github.com/Zhigalov","followers_url":"https://api.github.com/users/Zhigalov/followers","following_url":"https://api.github.com/users/Zhigalov/following{/other_user}","gists_url":"https://api.github.com/users/Zhigalov/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhigalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhigalov/subscriptions","organizations_url":"https://api.github.com/users/Zhigalov/orgs","repos_url":"https://api.github.com/users/Zhigalov/repos","events_url":"https://api.github.com/users/Zhigalov/events{/privacy}","received_events_url":"https://api.github.com/users/Zhigalov/received_events","type":"User","site_admin":false},"body":"Чтобы не сервер эту строчку составлял, а клиент. С сервера только данные приходят","created_at":"2017-06-06T11:12:18Z","updated_at":"2017-06-06T11:12:18Z","html_url":"https://github.com/htmlacademy-ecmascript/450931-guess-melody/pull/5#discussion_r120326043","pull_request_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/5","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/comments/120326043"},"html":{"href":"https://github.com/htmlacademy-ecmascript/450931-guess-melody/pull/5#discussion_r120326043"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/5","id":124067040,"html_url":"https://github.com/htmlacademy-ecmascript/450931-guess-melody/pull/5","diff_url":"https://github.com/htmlacademy-ecmascript/450931-guess-melody/pull/5.diff","patch_url":"https://github.com/htmlacademy-ecmascript/450931-guess-melody/pull/5.patch","issue_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/issues/5","number":5,"state":"open","locked":false,"title":"Структурируй и шаблонизируй!","user":{"login":"khizhenkov","id":4704737,"avatar_url":"https://avatars1.githubusercontent.com/u/4704737?v=3","gravatar_id":"","url":"https://api.github.com/users/khizhenkov","html_url":"https://github.com/khizhenkov","followers_url":"https://api.github.com/users/khizhenkov/followers","following_url":"https://api.github.com/users/khizhenkov/following{/other_user}","gists_url":"https://api.github.com/users/khizhenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/khizhenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khizhenkov/subscriptions","organizations_url":"https://api.github.com/users/khizhenkov/orgs","repos_url":"https://api.github.com/users/khizhenkov/repos","events_url":"https://api.github.com/users/khizhenkov/events{/privacy}","received_events_url":"https://api.github.com/users/khizhenkov/received_events","type":"User","site_admin":false},"body":"Separate data and views\r\nAdd music\n\n---\n:mortar_board: [Структурируй и шаблонизируй!](https://up.htmlacademy.ru/ecmascript/2/user/450931/tasks/5)\n\n:boom: https://htmlacademy-ecmascript.github.io/450931-guess-melody/5/","created_at":"2017-06-05T21:41:52Z","updated_at":"2017-06-06T11:12:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cc55508a0930dc130de28e1dc66f152b6706bf4c","assignee":{"login":"Zhigalov","id":1654243,"avatar_url":"https://avatars1.githubusercontent.com/u/1654243?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhigalov","html_url":"https://github.com/Zhigalov","followers_url":"https://api.github.com/users/Zhigalov/followers","following_url":"https://api.github.com/users/Zhigalov/following{/other_user}","gists_url":"https://api.github.com/users/Zhigalov/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhigalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhigalov/subscriptions","organizations_url":"https://api.github.com/users/Zhigalov/orgs","repos_url":"https://api.github.com/users/Zhigalov/repos","events_url":"https://api.github.com/users/Zhigalov/events{/privacy}","received_events_url":"https://api.github.com/users/Zhigalov/received_events","type":"User","site_admin":false},"assignees":[{"login":"Zhigalov","id":1654243,"avatar_url":"https://avatars1.githubusercontent.com/u/1654243?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhigalov","html_url":"https://github.com/Zhigalov","followers_url":"https://api.github.com/users/Zhigalov/followers","following_url":"https://api.github.com/users/Zhigalov/following{/other_user}","gists_url":"https://api.github.com/users/Zhigalov/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhigalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhigalov/subscriptions","organizations_url":"https://api.github.com/users/Zhigalov/orgs","repos_url":"https://api.github.com/users/Zhigalov/repos","events_url":"https://api.github.com/users/Zhigalov/events{/privacy}","received_events_url":"https://api.github.com/users/Zhigalov/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/5/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/5/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/issues/5/comments","statuses_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/statuses/f0abc1f620ffd6c4ee63a8cc7860c285ef893c10","head":{"label":"khizhenkov:module3-task1","ref":"module3-task1","sha":"f0abc1f620ffd6c4ee63a8cc7860c285ef893c10","user":{"login":"khizhenkov","id":4704737,"avatar_url":"https://avatars1.githubusercontent.com/u/4704737?v=3","gravatar_id":"","url":"https://api.github.com/users/khizhenkov","html_url":"https://github.com/khizhenkov","followers_url":"https://api.github.com/users/khizhenkov/followers","following_url":"https://api.github.com/users/khizhenkov/following{/other_user}","gists_url":"https://api.github.com/users/khizhenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/khizhenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khizhenkov/subscriptions","organizations_url":"https://api.github.com/users/khizhenkov/orgs","repos_url":"https://api.github.com/users/khizhenkov/repos","events_url":"https://api.github.com/users/khizhenkov/events{/privacy}","received_events_url":"https://api.github.com/users/khizhenkov/received_events","type":"User","site_admin":false},"repo":{"id":92307344,"name":"450931-guess-melody","full_name":"khizhenkov/450931-guess-melody","owner":{"login":"khizhenkov","id":4704737,"avatar_url":"https://avatars1.githubusercontent.com/u/4704737?v=3","gravatar_id":"","url":"https://api.github.com/users/khizhenkov","html_url":"https://github.com/khizhenkov","followers_url":"https://api.github.com/users/khizhenkov/followers","following_url":"https://api.github.com/users/khizhenkov/following{/other_user}","gists_url":"https://api.github.com/users/khizhenkov/gists{/gist_id}","starred_url":"https://api.github.com/users/khizhenkov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khizhenkov/subscriptions","organizations_url":"https://api.github.com/users/khizhenkov/orgs","repos_url":"https://api.github.com/users/khizhenkov/repos","events_url":"https://api.github.com/users/khizhenkov/events{/privacy}","received_events_url":"https://api.github.com/users/khizhenkov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/khizhenkov/450931-guess-melody","description":"Roman Khizhenkov","fork":true,"url":"https://api.github.com/repos/khizhenkov/450931-guess-melody","forks_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/forks","keys_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/keys{/key_id}","collaborators_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/teams","hooks_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/hooks","issue_events_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/issues/events{/number}","events_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/events","assignees_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/assignees{/user}","branches_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/branches{/branch}","tags_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/tags","blobs_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/git/refs{/sha}","trees_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/git/trees{/sha}","statuses_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/statuses/{sha}","languages_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/languages","stargazers_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/stargazers","contributors_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/contributors","subscribers_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/subscribers","subscription_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/subscription","commits_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/commits{/sha}","git_commits_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/git/commits{/sha}","comments_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/comments{/number}","issue_comment_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/issues/comments{/number}","contents_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/contents/{+path}","compare_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/compare/{base}...{head}","merges_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/merges","archive_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/downloads","issues_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/issues{/number}","pulls_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/pulls{/number}","milestones_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/milestones{/number}","notifications_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/labels{/name}","releases_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/releases{/id}","deployments_url":"https://api.github.com/repos/khizhenkov/450931-guess-melody/deployments","created_at":"2017-05-24T15:23:34Z","updated_at":"2017-05-24T15:23:36Z","pushed_at":"2017-06-05T21:40:04Z","git_url":"git://github.com/khizhenkov/450931-guess-melody.git","ssh_url":"git@github.com:khizhenkov/450931-guess-melody.git","clone_url":"https://github.com/khizhenkov/450931-guess-melody.git","svn_url":"https://github.com/khizhenkov/450931-guess-melody","homepage":null,"size":26687,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"htmlacademy-ecmascript:master","ref":"master","sha":"f9ad78fe17805a1f7f879ef667e5f1a3466ece72","user":{"login":"htmlacademy-ecmascript","id":22890904,"avatar_url":"https://avatars1.githubusercontent.com/u/22890904?v=3","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":92205737,"name":"450931-guess-melody","full_name":"htmlacademy-ecmascript/450931-guess-melody","owner":{"login":"htmlacademy-ecmascript","id":22890904,"avatar_url":"https://avatars1.githubusercontent.com/u/22890904?v=3","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},"private":false,"html_url":"https://github.com/htmlacademy-ecmascript/450931-guess-melody","description":"Roman Khizhenkov","fork":false,"url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody","forks_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/forks","keys_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/teams","hooks_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/events","assignees_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/tags","blobs_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/subscription","commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/merges","archive_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/downloads","issues_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/deployments","created_at":"2017-05-23T18:23:06Z","updated_at":"2017-05-25T17:30:52Z","pushed_at":"2017-06-05T21:43:58Z","git_url":"git://github.com/htmlacademy-ecmascript/450931-guess-melody.git","ssh_url":"git@github.com:htmlacademy-ecmascript/450931-guess-melody.git","clone_url":"https://github.com/htmlacademy-ecmascript/450931-guess-melody.git","svn_url":"https://github.com/htmlacademy-ecmascript/450931-guess-melody","homepage":"https://github.com/khizhenkov/450931-guess-melody","size":26707,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/5"},"html":{"href":"https://github.com/htmlacademy-ecmascript/450931-guess-melody/pull/5"},"issue":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/issues/5"},"comments":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/450931-guess-melody/statuses/f0abc1f620ffd6c4ee63a8cc7860c285ef893c10"}}}}
{"actor":{"display_login":"Zhigalov"}}