{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/comments/214587696","pull_request_review_id":151671740,"id":214587696,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDU4NzY5Ng==","diff_hunk":"@@ -0,0 +1,109 @@\n+'use strict';\n+\n+// infoTable характеристики\n+var startX = 100;\n+var startY = 10;\n+var infotableWidth = 420;\n+var infotableHeight = 270;\n+var topTableColor = 'white';\n+var outlineColor = 'rgba(0, 0, 0, 1)';\n+var bottomTableColor = 'rgba(0, 0, 0, 0.7)';\n+var bottomTableOffset = 10;\n+var lineWidth = 1;\n+var paddingTop = 18;\n+\n+// text характеристики\n+var textList = ['Ура вы победили!', 'Список результатов!'];\n+var font = 'PT Mono';\n+var fontSize = 16;\n+var textColor = 'black';\n+var lineHeight = fontSize * 1.375;// опытным путем определена высота строки: 22px = 16px * 1.375\n+var textLines = textList.length;\n+var textMarginLeft = 20;\n+\n+// данные и расчеты для построения гистограммы\n+var topGap = paddingTop + lineHeight * textLines;\n+var barChartMarginLeft = 40;// между левым краем облака и первой колонкой\n+var barChartMarginTop = 5;\n+var columnWidth = 40;\n+var columnMarginRight = 50;\n+var columnMarginTop = 0;// между текстом времени и самой колонкой\n+var columnMaxHeight = 150;\n+\n+// голубой цвет\n+var blueHue = 216;\n+var blueLightness = 50;\n+\n+// функция поиска максимального значения и функция отрисовки облака\n+function getMax(list) {\n+  var max = list[0];\n+  for (var i = 1; i < list.length; i++) {\n+    if (list[i] > max) {\n+      max = list[i];\n+    }\n+  }\n+  return max;\n+}\n+\n+function drawInfotable(ctx) {\n+  ctx.lineWidth = lineWidth;\n+  ctx.fillStyle = bottomTableColor;\n+  ctx.fillRect(startX + bottomTableOffset, startY + bottomTableOffset, infotableWidth, infotableHeight);\n+  ctx.fillStyle = outlineColor;\n+  ctx.fillRect(startX - lineWidth, startY - lineWidth, infotableWidth + lineWidth * 2, infotableHeight + lineWidth * 2);\n+  ctx.fillStyle = topTableColor;\n+  ctx.fillRect(startX, startY, infotableWidth, infotableHeight);\n+}\n+\n+window.renderStatistics = function (ctx, names, times) {\n+  drawInfotable(ctx);\n+\n+  // добавление текста\n+  ctx.fillStyle = textColor;\n+  ctx.font = '' + fontSize + 'px' + ' ' + font;\n+  var lines = 1;\n+  for (var i = 0; i < textList.length; i++) {\n+    ctx.fillText(textList[i], startX + textMarginLeft, paddingTop + lineHeight * lines);\n+    lines++;\n+  }\n+\n+  // создание массива отличимых цветов голубого с разной насыщенностью\n+  var saturationChangeSpan = 100 / (names.length - 1);// игрок 'Вы' исключен, тк у него красный цвет\n+  var blueSaturations = [];\n+  var saturation = 0;\n+  for (var j = 0; j < names.length - 1; j++) {\n+    if (j === names.length - 1) {\n+      saturation = 100;\n+    } else {\n+      saturation += saturationChangeSpan;\n+    }\n+    blueSaturations.push('hsl(' + blueHue + ', ' + saturation + '%' + ', ' + blueLightness + '%)');\n+  }\n+\n+  // построение гистограммы\n+  var maxTime = getMax(times);\n+  var totalGap = 0;// расстояние слева от новой колонки\n+  var countOfColumns = 1;// red column 'Вы'\n+  var columnsBottomY = startY + topGap + barChartMarginTop + lineHeight + columnMarginTop + columnMaxHeight;\n+\n+  for (i = 0; i < names.length; i++) {\n+    if (names[i] === 'Вы') {\n+      ctx.fillStyle = 'red';\n+      totalGap = barChartMarginLeft;\n+    } else {\n+      var randomSaturation = blueSaturations[Math.floor(Math.random() * blueSaturations.length)];\n+      blueSaturations.splice(blueSaturations.indexOf(randomSaturation), 1);\n+      ctx.fillStyle = randomSaturation;\n+      totalGap = barChartMarginLeft + countOfColumns * (columnWidth + columnMarginRight);\n+      countOfColumns++;\n+    }\n+\n+    var columnHeight = columnMaxHeight * times[i] / maxTime;\n+    var columnY = columnsBottomY - columnHeight;\n+    ctx.fillRect(startX + totalGap, columnY, columnWidth, columnHeight);\n+    var textTimeY = columnsBottomY - columnHeight - barChartMarginTop;\n+    ctx.fillStyle = textColor;\n+    ctx.fillText(parseInt(times[i], 10), startX + totalGap, textTimeY);\n+    ctx.fillText(names[i], startX + totalGap, columnsBottomY + lineHeight);","path":"js/stat.js","position":107,"original_position":107,"commit_id":"742b6e4bd792d723f14ff73b78e8823bfccb4191","original_commit_id":"742b6e4bd792d723f14ff73b78e8823bfccb4191","user":{"login":"fyvfyv","id":3251438,"node_id":"MDQ6VXNlcjMyNTE0Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3251438?v=4","gravatar_id":"","url":"https://api.github.com/users/fyvfyv","html_url":"https://github.com/fyvfyv","followers_url":"https://api.github.com/users/fyvfyv/followers","following_url":"https://api.github.com/users/fyvfyv/following{/other_user}","gists_url":"https://api.github.com/users/fyvfyv/gists{/gist_id}","starred_url":"https://api.github.com/users/fyvfyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fyvfyv/subscriptions","organizations_url":"https://api.github.com/users/fyvfyv/orgs","repos_url":"https://api.github.com/users/fyvfyv/repos","events_url":"https://api.github.com/users/fyvfyv/events{/privacy}","received_events_url":"https://api.github.com/users/fyvfyv/received_events","type":"User","site_admin":false},"body":"А вот генерацию колонки одной с подписями можно и в функцию отдельную вынести","created_at":"2018-09-03T06:37:40Z","updated_at":"2018-09-03T06:37:57Z","html_url":"https://github.com/htmlacademy-javascript/243875-code-and-magick/pull/2#discussion_r214587696","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/2","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/comments/214587696"},"html":{"href":"https://github.com/htmlacademy-javascript/243875-code-and-magick/pull/2#discussion_r214587696"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/2","id":212638072,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEyNjM4MDcy","html_url":"https://github.com/htmlacademy-javascript/243875-code-and-magick/pull/2","diff_url":"https://github.com/htmlacademy-javascript/243875-code-and-magick/pull/2.diff","patch_url":"https://github.com/htmlacademy-javascript/243875-code-and-magick/pull/2.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/issues/2","number":2,"state":"open","locked":false,"title":"Учебный проект «Холст»","user":{"login":"ArinaAnderson","id":30735724,"node_id":"MDQ6VXNlcjMwNzM1NzI0","avatar_url":"https://avatars1.githubusercontent.com/u/30735724?v=4","gravatar_id":"","url":"https://api.github.com/users/ArinaAnderson","html_url":"https://github.com/ArinaAnderson","followers_url":"https://api.github.com/users/ArinaAnderson/followers","following_url":"https://api.github.com/users/ArinaAnderson/following{/other_user}","gists_url":"https://api.github.com/users/ArinaAnderson/gists{/gist_id}","starred_url":"https://api.github.com/users/ArinaAnderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArinaAnderson/subscriptions","organizations_url":"https://api.github.com/users/ArinaAnderson/orgs","repos_url":"https://api.github.com/users/ArinaAnderson/repos","events_url":"https://api.github.com/users/ArinaAnderson/events{/privacy}","received_events_url":"https://api.github.com/users/ArinaAnderson/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Учебный проект «Холст»](https://up.htmlacademy.ru/javascript/15/user/243875/tasks/10)\n\n:boom: https://htmlacademy-javascript.github.io/243875-code-and-magick/2/","created_at":"2018-09-03T04:29:27Z","updated_at":"2018-09-03T06:37:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0fb97f776d4ebfe26f577829bd48da8bc529f1f4","assignee":{"login":"fyvfyv","id":3251438,"node_id":"MDQ6VXNlcjMyNTE0Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3251438?v=4","gravatar_id":"","url":"https://api.github.com/users/fyvfyv","html_url":"https://github.com/fyvfyv","followers_url":"https://api.github.com/users/fyvfyv/followers","following_url":"https://api.github.com/users/fyvfyv/following{/other_user}","gists_url":"https://api.github.com/users/fyvfyv/gists{/gist_id}","starred_url":"https://api.github.com/users/fyvfyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fyvfyv/subscriptions","organizations_url":"https://api.github.com/users/fyvfyv/orgs","repos_url":"https://api.github.com/users/fyvfyv/repos","events_url":"https://api.github.com/users/fyvfyv/events{/privacy}","received_events_url":"https://api.github.com/users/fyvfyv/received_events","type":"User","site_admin":false},"assignees":[{"login":"fyvfyv","id":3251438,"node_id":"MDQ6VXNlcjMyNTE0Mzg=","avatar_url":"https://avatars2.githubusercontent.com/u/3251438?v=4","gravatar_id":"","url":"https://api.github.com/users/fyvfyv","html_url":"https://github.com/fyvfyv","followers_url":"https://api.github.com/users/fyvfyv/followers","following_url":"https://api.github.com/users/fyvfyv/following{/other_user}","gists_url":"https://api.github.com/users/fyvfyv/gists{/gist_id}","starred_url":"https://api.github.com/users/fyvfyv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fyvfyv/subscriptions","organizations_url":"https://api.github.com/users/fyvfyv/orgs","repos_url":"https://api.github.com/users/fyvfyv/repos","events_url":"https://api.github.com/users/fyvfyv/events{/privacy}","received_events_url":"https://api.github.com/users/fyvfyv/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/2/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/2/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/issues/2/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/statuses/742b6e4bd792d723f14ff73b78e8823bfccb4191","head":{"label":"ArinaAnderson:module2-task1","ref":"module2-task1","sha":"742b6e4bd792d723f14ff73b78e8823bfccb4191","user":{"login":"ArinaAnderson","id":30735724,"node_id":"MDQ6VXNlcjMwNzM1NzI0","avatar_url":"https://avatars1.githubusercontent.com/u/30735724?v=4","gravatar_id":"","url":"https://api.github.com/users/ArinaAnderson","html_url":"https://github.com/ArinaAnderson","followers_url":"https://api.github.com/users/ArinaAnderson/followers","following_url":"https://api.github.com/users/ArinaAnderson/following{/other_user}","gists_url":"https://api.github.com/users/ArinaAnderson/gists{/gist_id}","starred_url":"https://api.github.com/users/ArinaAnderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArinaAnderson/subscriptions","organizations_url":"https://api.github.com/users/ArinaAnderson/orgs","repos_url":"https://api.github.com/users/ArinaAnderson/repos","events_url":"https://api.github.com/users/ArinaAnderson/events{/privacy}","received_events_url":"https://api.github.com/users/ArinaAnderson/received_events","type":"User","site_admin":false},"repo":{"id":146522582,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY1MjI1ODI=","name":"243875-code-and-magick","full_name":"ArinaAnderson/243875-code-and-magick","owner":{"login":"ArinaAnderson","id":30735724,"node_id":"MDQ6VXNlcjMwNzM1NzI0","avatar_url":"https://avatars1.githubusercontent.com/u/30735724?v=4","gravatar_id":"","url":"https://api.github.com/users/ArinaAnderson","html_url":"https://github.com/ArinaAnderson","followers_url":"https://api.github.com/users/ArinaAnderson/followers","following_url":"https://api.github.com/users/ArinaAnderson/following{/other_user}","gists_url":"https://api.github.com/users/ArinaAnderson/gists{/gist_id}","starred_url":"https://api.github.com/users/ArinaAnderson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArinaAnderson/subscriptions","organizations_url":"https://api.github.com/users/ArinaAnderson/orgs","repos_url":"https://api.github.com/users/ArinaAnderson/repos","events_url":"https://api.github.com/users/ArinaAnderson/events{/privacy}","received_events_url":"https://api.github.com/users/ArinaAnderson/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ArinaAnderson/243875-code-and-magick","description":"Марина Гандерсен","fork":true,"url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick","forks_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/forks","keys_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/teams","hooks_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/events","assignees_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/tags","blobs_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/subscription","commits_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/merges","archive_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/downloads","issues_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/ArinaAnderson/243875-code-and-magick/deployments","created_at":"2018-08-29T00:31:58Z","updated_at":"2018-08-31T19:10:38Z","pushed_at":"2018-09-03T04:41:08Z","git_url":"git://github.com/ArinaAnderson/243875-code-and-magick.git","ssh_url":"git@github.com:ArinaAnderson/243875-code-and-magick.git","clone_url":"https://github.com/ArinaAnderson/243875-code-and-magick.git","svn_url":"https://github.com/ArinaAnderson/243875-code-and-magick","homepage":null,"size":1078,"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":"914faabfbac5d2d08ab5d6c9a8969b9a21ecdf34","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":146521703,"node_id":"MDEwOlJlcG9zaXRvcnkxNDY1MjE3MDM=","name":"243875-code-and-magick","full_name":"htmlacademy-javascript/243875-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/243875-code-and-magick","description":"Марина Гандерсен","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/deployments","created_at":"2018-08-29T00:19:22Z","updated_at":"2018-08-30T06:49:42Z","pushed_at":"2018-09-03T04:53:03Z","git_url":"git://github.com/htmlacademy-javascript/243875-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/243875-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/243875-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/243875-code-and-magick","homepage":"https://github.com/ArinaAnderson/243875-code-and-magick","size":1081,"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-javascript/243875-code-and-magick/pulls/2"},"html":{"href":"https://github.com/htmlacademy-javascript/243875-code-and-magick/pull/2"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/issues/2"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/243875-code-and-magick/statuses/742b6e4bd792d723f14ff73b78e8823bfccb4191"}},"author_association":"NONE"}}
{"actor":{"display_login":"fyvfyv"}}