{"action":"created","issue":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/129884-guess-melody/issues/7","repository_url":"https://api.github.com/repos/htmlacademy-ecmascript/129884-guess-melody","labels_url":"https://api.github.com/repos/htmlacademy-ecmascript/129884-guess-melody/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/129884-guess-melody/issues/7/comments","events_url":"https://api.github.com/repos/htmlacademy-ecmascript/129884-guess-melody/issues/7/events","html_url":"https://github.com/htmlacademy-ecmascript/129884-guess-melody/pull/7","id":316621406,"number":7,"title":"Модельный показ","user":{"login":"Anchello","id":16352548,"avatar_url":"https://avatars1.githubusercontent.com/u/16352548?v=4","gravatar_id":"","url":"https://api.github.com/users/Anchello","html_url":"https://github.com/Anchello","followers_url":"https://api.github.com/users/Anchello/followers","following_url":"https://api.github.com/users/Anchello/following{/other_user}","gists_url":"https://api.github.com/users/Anchello/gists{/gist_id}","starred_url":"https://api.github.com/users/Anchello/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anchello/subscriptions","organizations_url":"https://api.github.com/users/Anchello/orgs","repos_url":"https://api.github.com/users/Anchello/repos","events_url":"https://api.github.com/users/Anchello/events{/privacy}","received_events_url":"https://api.github.com/users/Anchello/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"nicksp","id":579331,"avatar_url":"https://avatars2.githubusercontent.com/u/579331?v=4","gravatar_id":"","url":"https://api.github.com/users/nicksp","html_url":"https://github.com/nicksp","followers_url":"https://api.github.com/users/nicksp/followers","following_url":"https://api.github.com/users/nicksp/following{/other_user}","gists_url":"https://api.github.com/users/nicksp/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksp/subscriptions","organizations_url":"https://api.github.com/users/nicksp/orgs","repos_url":"https://api.github.com/users/nicksp/repos","events_url":"https://api.github.com/users/nicksp/events{/privacy}","received_events_url":"https://api.github.com/users/nicksp/received_events","type":"User","site_admin":false},"assignees":[{"login":"nicksp","id":579331,"avatar_url":"https://avatars2.githubusercontent.com/u/579331?v=4","gravatar_id":"","url":"https://api.github.com/users/nicksp","html_url":"https://github.com/nicksp","followers_url":"https://api.github.com/users/nicksp/followers","following_url":"https://api.github.com/users/nicksp/following{/other_user}","gists_url":"https://api.github.com/users/nicksp/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksp/subscriptions","organizations_url":"https://api.github.com/users/nicksp/orgs","repos_url":"https://api.github.com/users/nicksp/repos","events_url":"https://api.github.com/users/nicksp/events{/privacy}","received_events_url":"https://api.github.com/users/nicksp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-04-22T23:05:43Z","updated_at":"2018-04-24T16:54:26Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/129884-guess-melody/pulls/7","html_url":"https://github.com/htmlacademy-ecmascript/129884-guess-melody/pull/7","diff_url":"https://github.com/htmlacademy-ecmascript/129884-guess-melody/pull/7.diff","patch_url":"https://github.com/htmlacademy-ecmascript/129884-guess-melody/pull/7.patch"},"body":"Возникли вот такие вопросы:\r\n1. Пример класса `AbstractView` взяла из учебного проекта https://github.com/htmlacademy-ecmascript/420-superquest/blob/module5-task1/js/abstract-view.js#L27\r\nно у меня линтер ругается в таких местах, что я передаю параметр, но не использую его. Как быть?\r\n2. Я оставила структуру как прежде, это правильно?\r\n3. Все модули экранов возвращают объект, а потом уже в функции `switchScreen` я вызываю метод  `element`, чтобы вернуть DOM-элемент или правильней, чтобы в самом модуле возвращался DOM-элемент?\n\n---\n:mortar_board: [Модельный показ](https://up.htmlacademy.ru/ecmascript/4/user/129884/tasks/8)\n\n:boom: https://htmlacademy-ecmascript.github.io/129884-guess-melody/7/"},"comment":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/129884-guess-melody/issues/comments/384004214","html_url":"https://github.com/htmlacademy-ecmascript/129884-guess-melody/pull/7#issuecomment-384004214","issue_url":"https://api.github.com/repos/htmlacademy-ecmascript/129884-guess-melody/issues/7","id":384004214,"user":{"login":"nicksp","id":579331,"avatar_url":"https://avatars2.githubusercontent.com/u/579331?v=4","gravatar_id":"","url":"https://api.github.com/users/nicksp","html_url":"https://github.com/nicksp","followers_url":"https://api.github.com/users/nicksp/followers","following_url":"https://api.github.com/users/nicksp/following{/other_user}","gists_url":"https://api.github.com/users/nicksp/gists{/gist_id}","starred_url":"https://api.github.com/users/nicksp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicksp/subscriptions","organizations_url":"https://api.github.com/users/nicksp/orgs","repos_url":"https://api.github.com/users/nicksp/repos","events_url":"https://api.github.com/users/nicksp/events{/privacy}","received_events_url":"https://api.github.com/users/nicksp/received_events","type":"User","site_admin":false},"created_at":"2018-04-24T16:54:26Z","updated_at":"2018-04-24T16:54:26Z","author_association":"COLLABORATOR","body":"> Правильно ли я понимаю, что метод getInitialDataGame в таком случае должен просто возвращать объект GAME_INITIAL? Если да, то тогда получается, что этот метод вообще не нужен? Я ведь могу при показе стартового экрана просто передавать showScreenElement(startScreen(GAME_INITIAL).element); вместо showScreenElement(startScreen(dataGame).element);\r\n\r\nПравильно поняла и нужно это сделать :) Если что-то кажется не нужным и используется лишь в паре мест, можно исключить лишние обёртки в виже методов и прочего. И в данном случае, ты можешь просто оперировать оюъектом начальных данных.\r\n\r\nПоправь потом, в след. пулл реквесте. "}}
{"actor":{"display_login":"nicksp"}}