{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/comments/92920123","pull_request_review_id":13445211,"id":92920123,"diff_hunk":"@@ -0,0 +1,61 @@\n+import {levelData} from './data/level-data';\n+import {initialData, setLives, setTimer, setStats, setLevel} from './data/game-data';\n+\n+export default class Model {\n+  constructor(state = initialData) {","path":"js/model.js","position":5,"original_position":5,"commit_id":"323591dbafbb88fddb8346110f2bbc1a951542c7","original_commit_id":"323591dbafbb88fddb8346110f2bbc1a951542c7","user":{"login":"VitalyOstanin","id":352594,"avatar_url":"https://avatars.githubusercontent.com/u/352594?v=3","gravatar_id":"","url":"https://api.github.com/users/VitalyOstanin","html_url":"https://github.com/VitalyOstanin","followers_url":"https://api.github.com/users/VitalyOstanin/followers","following_url":"https://api.github.com/users/VitalyOstanin/following{/other_user}","gists_url":"https://api.github.com/users/VitalyOstanin/gists{/gist_id}","starred_url":"https://api.github.com/users/VitalyOstanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitalyOstanin/subscriptions","organizations_url":"https://api.github.com/users/VitalyOstanin/orgs","repos_url":"https://api.github.com/users/VitalyOstanin/repos","events_url":"https://api.github.com/users/VitalyOstanin/events{/privacy}","received_events_url":"https://api.github.com/users/VitalyOstanin/received_events","type":"User","site_admin":false},"body":"Есть некоторая путаница в терминах - оно state или data ?","created_at":"2016-12-17T11:33:14Z","updated_at":"2016-12-17T11:33:14Z","html_url":"https://github.com/htmlacademy-ecmascript/199491-pixel-hunter/pull/9#discussion_r92920123","pull_request_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/comments/92920123"},"html":{"href":"https://github.com/htmlacademy-ecmascript/199491-pixel-hunter/pull/9#discussion_r92920123"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/9","id":97930790,"html_url":"https://github.com/htmlacademy-ecmascript/199491-pixel-hunter/pull/9","diff_url":"https://github.com/htmlacademy-ecmascript/199491-pixel-hunter/pull/9.diff","patch_url":"https://github.com/htmlacademy-ecmascript/199491-pixel-hunter/pull/9.patch","issue_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/issues/9","number":9,"state":"open","locked":false,"title":"Модельный показ","user":{"login":"Anatollly","id":20662293,"avatar_url":"https://avatars.githubusercontent.com/u/20662293?v=3","gravatar_id":"","url":"https://api.github.com/users/Anatollly","html_url":"https://github.com/Anatollly","followers_url":"https://api.github.com/users/Anatollly/followers","following_url":"https://api.github.com/users/Anatollly/following{/other_user}","gists_url":"https://api.github.com/users/Anatollly/gists{/gist_id}","starred_url":"https://api.github.com/users/Anatollly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anatollly/subscriptions","organizations_url":"https://api.github.com/users/Anatollly/orgs","repos_url":"https://api.github.com/users/Anatollly/repos","events_url":"https://api.github.com/users/Anatollly/events{/privacy}","received_events_url":"https://api.github.com/users/Anatollly/received_events","type":"User","site_admin":false},"body":"… так что они наследуют класс AbstractView","created_at":"2016-12-14T11:05:47Z","updated_at":"2016-12-17T11:33:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c164cd686f92a834836ab5ce707aaec7cdc858d9","assignee":{"login":"VitalyOstanin","id":352594,"avatar_url":"https://avatars.githubusercontent.com/u/352594?v=3","gravatar_id":"","url":"https://api.github.com/users/VitalyOstanin","html_url":"https://github.com/VitalyOstanin","followers_url":"https://api.github.com/users/VitalyOstanin/followers","following_url":"https://api.github.com/users/VitalyOstanin/following{/other_user}","gists_url":"https://api.github.com/users/VitalyOstanin/gists{/gist_id}","starred_url":"https://api.github.com/users/VitalyOstanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitalyOstanin/subscriptions","organizations_url":"https://api.github.com/users/VitalyOstanin/orgs","repos_url":"https://api.github.com/users/VitalyOstanin/repos","events_url":"https://api.github.com/users/VitalyOstanin/events{/privacy}","received_events_url":"https://api.github.com/users/VitalyOstanin/received_events","type":"User","site_admin":false},"assignees":[{"login":"VitalyOstanin","id":352594,"avatar_url":"https://avatars.githubusercontent.com/u/352594?v=3","gravatar_id":"","url":"https://api.github.com/users/VitalyOstanin","html_url":"https://github.com/VitalyOstanin","followers_url":"https://api.github.com/users/VitalyOstanin/followers","following_url":"https://api.github.com/users/VitalyOstanin/following{/other_user}","gists_url":"https://api.github.com/users/VitalyOstanin/gists{/gist_id}","starred_url":"https://api.github.com/users/VitalyOstanin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VitalyOstanin/subscriptions","organizations_url":"https://api.github.com/users/VitalyOstanin/orgs","repos_url":"https://api.github.com/users/VitalyOstanin/repos","events_url":"https://api.github.com/users/VitalyOstanin/events{/privacy}","received_events_url":"https://api.github.com/users/VitalyOstanin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/9/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/9/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/issues/9/comments","statuses_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/statuses/323591dbafbb88fddb8346110f2bbc1a951542c7","head":{"label":"Anatollly:module5-task1","ref":"module5-task1","sha":"323591dbafbb88fddb8346110f2bbc1a951542c7","user":{"login":"Anatollly","id":20662293,"avatar_url":"https://avatars.githubusercontent.com/u/20662293?v=3","gravatar_id":"","url":"https://api.github.com/users/Anatollly","html_url":"https://github.com/Anatollly","followers_url":"https://api.github.com/users/Anatollly/followers","following_url":"https://api.github.com/users/Anatollly/following{/other_user}","gists_url":"https://api.github.com/users/Anatollly/gists{/gist_id}","starred_url":"https://api.github.com/users/Anatollly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anatollly/subscriptions","organizations_url":"https://api.github.com/users/Anatollly/orgs","repos_url":"https://api.github.com/users/Anatollly/repos","events_url":"https://api.github.com/users/Anatollly/events{/privacy}","received_events_url":"https://api.github.com/users/Anatollly/received_events","type":"User","site_admin":false},"repo":{"id":73994626,"name":"199491-pixel-hunter","full_name":"Anatollly/199491-pixel-hunter","owner":{"login":"Anatollly","id":20662293,"avatar_url":"https://avatars.githubusercontent.com/u/20662293?v=3","gravatar_id":"","url":"https://api.github.com/users/Anatollly","html_url":"https://github.com/Anatollly","followers_url":"https://api.github.com/users/Anatollly/followers","following_url":"https://api.github.com/users/Anatollly/following{/other_user}","gists_url":"https://api.github.com/users/Anatollly/gists{/gist_id}","starred_url":"https://api.github.com/users/Anatollly/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anatollly/subscriptions","organizations_url":"https://api.github.com/users/Anatollly/orgs","repos_url":"https://api.github.com/users/Anatollly/repos","events_url":"https://api.github.com/users/Anatollly/events{/privacy}","received_events_url":"https://api.github.com/users/Anatollly/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Anatollly/199491-pixel-hunter","description":"Анатолий Ковалев","fork":true,"url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter","forks_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/forks","keys_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/teams","hooks_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/hooks","issue_events_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/issues/events{/number}","events_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/events","assignees_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/assignees{/user}","branches_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/branches{/branch}","tags_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/tags","blobs_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/statuses/{sha}","languages_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/languages","stargazers_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/stargazers","contributors_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/contributors","subscribers_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/subscribers","subscription_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/subscription","commits_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/issues/comments{/number}","contents_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/contents/{+path}","compare_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/merges","archive_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/downloads","issues_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/issues{/number}","pulls_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/pulls{/number}","milestones_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/milestones{/number}","notifications_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/labels{/name}","releases_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/releases{/id}","deployments_url":"https://api.github.com/repos/Anatollly/199491-pixel-hunter/deployments","created_at":"2016-11-17T05:46:28Z","updated_at":"2016-11-23T14:10:26Z","pushed_at":"2016-12-15T15:02:49Z","git_url":"git://github.com/Anatollly/199491-pixel-hunter.git","ssh_url":"git@github.com:Anatollly/199491-pixel-hunter.git","clone_url":"https://github.com/Anatollly/199491-pixel-hunter.git","svn_url":"https://github.com/Anatollly/199491-pixel-hunter","homepage":null,"size":587,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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":"ca8b510bbb42e1341fdbc70bed78948311c9767a","user":{"login":"htmlacademy-ecmascript","id":22890904,"avatar_url":"https://avatars.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":73993701,"name":"199491-pixel-hunter","full_name":"htmlacademy-ecmascript/199491-pixel-hunter","owner":{"login":"htmlacademy-ecmascript","id":22890904,"avatar_url":"https://avatars.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/199491-pixel-hunter","description":"Анатолий Ковалев","fork":false,"url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter","forks_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/forks","keys_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/teams","hooks_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/events","assignees_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/tags","blobs_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/subscription","commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/merges","archive_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/downloads","issues_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/deployments","created_at":"2016-11-17T05:31:59Z","updated_at":"2016-11-23T13:50:13Z","pushed_at":"2016-12-15T15:02:50Z","git_url":"git://github.com/htmlacademy-ecmascript/199491-pixel-hunter.git","ssh_url":"git@github.com:htmlacademy-ecmascript/199491-pixel-hunter.git","clone_url":"https://github.com/htmlacademy-ecmascript/199491-pixel-hunter.git","svn_url":"https://github.com/htmlacademy-ecmascript/199491-pixel-hunter","homepage":"https://github.com/Anatollly/199491-pixel-hunter","size":631,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"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/199491-pixel-hunter/pulls/9"},"html":{"href":"https://github.com/htmlacademy-ecmascript/199491-pixel-hunter/pull/9"},"issue":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/issues/9"},"comments":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/199491-pixel-hunter/statuses/323591dbafbb88fddb8346110f2bbc1a951542c7"}}}}
{"actor":{"display_login":"VitalyOstanin"}}