{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/comments/214506228","pull_request_review_id":151585593,"id":214506228,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDUwNjIyOA==","diff_hunk":"@@ -181,6 +181,28 @@ <h4 class=\"setup-similar-title\">Похожие персонажи</h4>\n   </div>\n </template>\n \n+<script>\n+  var getFireballSpeed = function (left) { \n+    return left ? 5 : 2;\n+  };\n+  \n+  var getWizardHeight = function (wizardWidth) {\n+    return 1.337 * wizardWidth;\n+  };\n+  \n+  var getWizardX  = function (width) {\n+    return width / 2 - (wizardWidth / 2);\n+  };\n+  \n+  var getWizardY  = function (height) {\n+    return height / 2 - (wizardWidth / 2);","path":"index.html","position":18,"original_position":18,"commit_id":"feb37b33015c9a71881d03285f93a8034f00049a","original_commit_id":"feb37b33015c9a71881d03285f93a8034f00049a","user":{"login":"toolX","id":15172174,"node_id":"MDQ6VXNlcjE1MTcyMTc0","avatar_url":"https://avatars3.githubusercontent.com/u/15172174?v=4","gravatar_id":"","url":"https://api.github.com/users/toolX","html_url":"https://github.com/toolX","followers_url":"https://api.github.com/users/toolX/followers","following_url":"https://api.github.com/users/toolX/following{/other_user}","gists_url":"https://api.github.com/users/toolX/gists{/gist_id}","starred_url":"https://api.github.com/users/toolX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolX/subscriptions","organizations_url":"https://api.github.com/users/toolX/orgs","repos_url":"https://api.github.com/users/toolX/repos","events_url":"https://api.github.com/users/toolX/events{/privacy}","received_events_url":"https://api.github.com/users/toolX/received_events","type":"User","site_admin":false},"body":"Тут, вроде как, получается середина, а не 2/3","created_at":"2018-09-01T06:37:52Z","updated_at":"2018-09-01T06:38:28Z","html_url":"https://github.com/htmlacademy-javascript/204545-code-and-magick/pull/1#discussion_r214506228","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/comments/214506228"},"html":{"href":"https://github.com/htmlacademy-javascript/204545-code-and-magick/pull/1#discussion_r214506228"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/1","id":212491347,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNDkxMzQ3","html_url":"https://github.com/htmlacademy-javascript/204545-code-and-magick/pull/1","diff_url":"https://github.com/htmlacademy-javascript/204545-code-and-magick/pull/1.diff","patch_url":"https://github.com/htmlacademy-javascript/204545-code-and-magick/pull/1.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/issues/1","number":1,"state":"open","locked":false,"title":"Учебный проект: начинаем программировать","user":{"login":"SergeiKOS","id":22800914,"node_id":"MDQ6VXNlcjIyODAwOTE0","avatar_url":"https://avatars0.githubusercontent.com/u/22800914?v=4","gravatar_id":"","url":"https://api.github.com/users/SergeiKOS","html_url":"https://github.com/SergeiKOS","followers_url":"https://api.github.com/users/SergeiKOS/followers","following_url":"https://api.github.com/users/SergeiKOS/following{/other_user}","gists_url":"https://api.github.com/users/SergeiKOS/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeiKOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeiKOS/subscriptions","organizations_url":"https://api.github.com/users/SergeiKOS/orgs","repos_url":"https://api.github.com/users/SergeiKOS/repos","events_url":"https://api.github.com/users/SergeiKOS/events{/privacy}","received_events_url":"https://api.github.com/users/SergeiKOS/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Учебный проект: начинаем программировать](https://up.htmlacademy.ru/javascript/15/user/204545/tasks/6)","created_at":"2018-08-31T20:51:20Z","updated_at":"2018-09-01T06:38:28Z","closed_at":null,"merged_at":null,"merge_commit_sha":"23a3dc926bd95435ce2296e480939fba64286e21","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/1/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/1/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/issues/1/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/statuses/feb37b33015c9a71881d03285f93a8034f00049a","head":{"label":"SergeiKOS:module1-task1","ref":"module1-task1","sha":"feb37b33015c9a71881d03285f93a8034f00049a","user":{"login":"SergeiKOS","id":22800914,"node_id":"MDQ6VXNlcjIyODAwOTE0","avatar_url":"https://avatars0.githubusercontent.com/u/22800914?v=4","gravatar_id":"","url":"https://api.github.com/users/SergeiKOS","html_url":"https://github.com/SergeiKOS","followers_url":"https://api.github.com/users/SergeiKOS/followers","following_url":"https://api.github.com/users/SergeiKOS/following{/other_user}","gists_url":"https://api.github.com/users/SergeiKOS/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeiKOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeiKOS/subscriptions","organizations_url":"https://api.github.com/users/SergeiKOS/orgs","repos_url":"https://api.github.com/users/SergeiKOS/repos","events_url":"https://api.github.com/users/SergeiKOS/events{/privacy}","received_events_url":"https://api.github.com/users/SergeiKOS/received_events","type":"User","site_admin":false},"repo":{"id":146921307,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5MjEzMDc=","name":"204545-code-and-magick","full_name":"SergeiKOS/204545-code-and-magick","owner":{"login":"SergeiKOS","id":22800914,"node_id":"MDQ6VXNlcjIyODAwOTE0","avatar_url":"https://avatars0.githubusercontent.com/u/22800914?v=4","gravatar_id":"","url":"https://api.github.com/users/SergeiKOS","html_url":"https://github.com/SergeiKOS","followers_url":"https://api.github.com/users/SergeiKOS/followers","following_url":"https://api.github.com/users/SergeiKOS/following{/other_user}","gists_url":"https://api.github.com/users/SergeiKOS/gists{/gist_id}","starred_url":"https://api.github.com/users/SergeiKOS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SergeiKOS/subscriptions","organizations_url":"https://api.github.com/users/SergeiKOS/orgs","repos_url":"https://api.github.com/users/SergeiKOS/repos","events_url":"https://api.github.com/users/SergeiKOS/events{/privacy}","received_events_url":"https://api.github.com/users/SergeiKOS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SergeiKOS/204545-code-and-magick","description":"Sergei Kostrikin","fork":true,"url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick","forks_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/forks","keys_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/teams","hooks_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/events","assignees_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/tags","blobs_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/subscription","commits_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/merges","archive_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/downloads","issues_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/SergeiKOS/204545-code-and-magick/deployments","created_at":"2018-08-31T17:10:49Z","updated_at":"2018-08-31T17:10:52Z","pushed_at":"2018-08-31T20:50:56Z","git_url":"git://github.com/SergeiKOS/204545-code-and-magick.git","ssh_url":"git@github.com:SergeiKOS/204545-code-and-magick.git","clone_url":"https://github.com/SergeiKOS/204545-code-and-magick.git","svn_url":"https://github.com/SergeiKOS/204545-code-and-magick","homepage":null,"size":1071,"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-javascript:master","ref":"master","sha":"ee8878b84ebd131e7b7dde0c61bbdbc182405fab","user":{"login":"htmlacademy-javascript","id":14179712,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTc5NzEy","avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"repo":{"id":146921279,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY5MjEyNzk=","name":"204545-code-and-magick","full_name":"htmlacademy-javascript/204545-code-and-magick","owner":{"login":"htmlacademy-javascript","id":14179712,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTc5NzEy","avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-javascript/204545-code-and-magick","description":"Sergei Kostrikin","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/deployments","created_at":"2018-08-31T17:10:36Z","updated_at":"2018-08-31T20:52:08Z","pushed_at":"2018-08-31T20:51:21Z","git_url":"git://github.com/htmlacademy-javascript/204545-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/204545-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/204545-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/204545-code-and-magick","homepage":"https://github.com/SergeiKOS/204545-code-and-magick","size":1070,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"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-javascript/204545-code-and-magick/pulls/1"},"html":{"href":"https://github.com/htmlacademy-javascript/204545-code-and-magick/pull/1"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/issues/1"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/204545-code-and-magick/statuses/feb37b33015c9a71881d03285f93a8034f00049a"}},"author_association":"NONE"}}
{"actor":{"display_login":"toolX"}}