{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/comments/109395288","pull_request_review_id":30492667,"id":109395288,"diff_hunk":"@@ -0,0 +1,43 @@\n+'use strict';\n+\n+window.renderStatistics = function (ctx, names, times) {\n+  // отрисовка облака с тенью\n+  ctx.fillStyle = 'rgba(0, 0, 0, 0.7)';\n+  ctx.fillRect(110, 20, 420, 270);\n+  ctx.fillStyle = 'rgba(255, 255, 255, 1)';\n+  ctx.fillRect(100, 10, 420, 270);\n+\n+  // отрисовка текста\n+  ctx.fillStyle = 'rgba(0, 0, 0, 1)';\n+  ctx.font = '16px PT Mono';\n+  ctx.fillText('Ура, вы победили!', 130, 45);\n+  ctx.fillText('Список результатов:', 130, 65);\n+\n+  // подсчёт худшего времени\n+  var worstTime = Math.max.apply(Math, times);\n+\n+  // определение цвета колонок\n+  var i;\n+  var columnColor = function () {","path":"js/stat.js","position":21,"original_position":21,"commit_id":"e5a1f0ec3bbb3e07b37cd3293a028f242cd219b1","original_commit_id":"e5a1f0ec3bbb3e07b37cd3293a028f242cd219b1","user":{"login":"varya","id":27215,"avatar_url":"https://avatars2.githubusercontent.com/u/27215?v=3","gravatar_id":"","url":"https://api.github.com/users/varya","html_url":"https://github.com/varya","followers_url":"https://api.github.com/users/varya/followers","following_url":"https://api.github.com/users/varya/following{/other_user}","gists_url":"https://api.github.com/users/varya/gists{/gist_id}","starred_url":"https://api.github.com/users/varya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varya/subscriptions","organizations_url":"https://api.github.com/users/varya/orgs","repos_url":"https://api.github.com/users/varya/repos","events_url":"https://api.github.com/users/varya/events{/privacy}","received_events_url":"https://api.github.com/users/varya/received_events","type":"User","site_admin":false},"body":"Это функция без параметров. Она должна принимать на вход параметр `name`, а передавать значение надо там, где вызывается фунция.","created_at":"2017-04-03T11:34:41Z","updated_at":"2017-04-03T11:36:41Z","html_url":"https://github.com/htmlacademy-javascript/23249-code-and-magick/pull/2#discussion_r109395288","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/comments/109395288"},"html":{"href":"https://github.com/htmlacademy-javascript/23249-code-and-magick/pull/2#discussion_r109395288"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/2","id":113814140,"html_url":"https://github.com/htmlacademy-javascript/23249-code-and-magick/pull/2","diff_url":"https://github.com/htmlacademy-javascript/23249-code-and-magick/pull/2.diff","patch_url":"https://github.com/htmlacademy-javascript/23249-code-and-magick/pull/2.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/issues/2","number":2,"state":"open","locked":false,"title":"Учебный проект: Холст","user":{"login":"ksenya-torkova","id":18050349,"avatar_url":"https://avatars0.githubusercontent.com/u/18050349?v=3","gravatar_id":"","url":"https://api.github.com/users/ksenya-torkova","html_url":"https://github.com/ksenya-torkova","followers_url":"https://api.github.com/users/ksenya-torkova/followers","following_url":"https://api.github.com/users/ksenya-torkova/following{/other_user}","gists_url":"https://api.github.com/users/ksenya-torkova/gists{/gist_id}","starred_url":"https://api.github.com/users/ksenya-torkova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksenya-torkova/subscriptions","organizations_url":"https://api.github.com/users/ksenya-torkova/orgs","repos_url":"https://api.github.com/users/ksenya-torkova/repos","events_url":"https://api.github.com/users/ksenya-torkova/events{/privacy}","received_events_url":"https://api.github.com/users/ksenya-torkova/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Учебный проект: Холст](https://up.htmlacademy.ru/javascript/9/user/23249/tasks/7)\n\n:boom: https://htmlacademy-javascript.github.io/23249-code-and-magick/2/","created_at":"2017-04-02T11:11:35Z","updated_at":"2017-04-03T11:36:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6ef9f10066931032fbb6edf41aae789b4ad96e4","assignee":{"login":"varya","id":27215,"avatar_url":"https://avatars2.githubusercontent.com/u/27215?v=3","gravatar_id":"","url":"https://api.github.com/users/varya","html_url":"https://github.com/varya","followers_url":"https://api.github.com/users/varya/followers","following_url":"https://api.github.com/users/varya/following{/other_user}","gists_url":"https://api.github.com/users/varya/gists{/gist_id}","starred_url":"https://api.github.com/users/varya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varya/subscriptions","organizations_url":"https://api.github.com/users/varya/orgs","repos_url":"https://api.github.com/users/varya/repos","events_url":"https://api.github.com/users/varya/events{/privacy}","received_events_url":"https://api.github.com/users/varya/received_events","type":"User","site_admin":false},"assignees":[{"login":"varya","id":27215,"avatar_url":"https://avatars2.githubusercontent.com/u/27215?v=3","gravatar_id":"","url":"https://api.github.com/users/varya","html_url":"https://github.com/varya","followers_url":"https://api.github.com/users/varya/followers","following_url":"https://api.github.com/users/varya/following{/other_user}","gists_url":"https://api.github.com/users/varya/gists{/gist_id}","starred_url":"https://api.github.com/users/varya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varya/subscriptions","organizations_url":"https://api.github.com/users/varya/orgs","repos_url":"https://api.github.com/users/varya/repos","events_url":"https://api.github.com/users/varya/events{/privacy}","received_events_url":"https://api.github.com/users/varya/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/2/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/2/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/issues/2/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/statuses/e5a1f0ec3bbb3e07b37cd3293a028f242cd219b1","head":{"label":"ksenya-torkova:module2-task1","ref":"module2-task1","sha":"e5a1f0ec3bbb3e07b37cd3293a028f242cd219b1","user":{"login":"ksenya-torkova","id":18050349,"avatar_url":"https://avatars0.githubusercontent.com/u/18050349?v=3","gravatar_id":"","url":"https://api.github.com/users/ksenya-torkova","html_url":"https://github.com/ksenya-torkova","followers_url":"https://api.github.com/users/ksenya-torkova/followers","following_url":"https://api.github.com/users/ksenya-torkova/following{/other_user}","gists_url":"https://api.github.com/users/ksenya-torkova/gists{/gist_id}","starred_url":"https://api.github.com/users/ksenya-torkova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksenya-torkova/subscriptions","organizations_url":"https://api.github.com/users/ksenya-torkova/orgs","repos_url":"https://api.github.com/users/ksenya-torkova/repos","events_url":"https://api.github.com/users/ksenya-torkova/events{/privacy}","received_events_url":"https://api.github.com/users/ksenya-torkova/received_events","type":"User","site_admin":false},"repo":{"id":85754356,"name":"23249-code-and-magick","full_name":"ksenya-torkova/23249-code-and-magick","owner":{"login":"ksenya-torkova","id":18050349,"avatar_url":"https://avatars0.githubusercontent.com/u/18050349?v=3","gravatar_id":"","url":"https://api.github.com/users/ksenya-torkova","html_url":"https://github.com/ksenya-torkova","followers_url":"https://api.github.com/users/ksenya-torkova/followers","following_url":"https://api.github.com/users/ksenya-torkova/following{/other_user}","gists_url":"https://api.github.com/users/ksenya-torkova/gists{/gist_id}","starred_url":"https://api.github.com/users/ksenya-torkova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksenya-torkova/subscriptions","organizations_url":"https://api.github.com/users/ksenya-torkova/orgs","repos_url":"https://api.github.com/users/ksenya-torkova/repos","events_url":"https://api.github.com/users/ksenya-torkova/events{/privacy}","received_events_url":"https://api.github.com/users/ksenya-torkova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ksenya-torkova/23249-code-and-magick","description":"Ксения Торкова","fork":true,"url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick","forks_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/forks","keys_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/teams","hooks_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/events","assignees_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/tags","blobs_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/subscription","commits_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/merges","archive_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/downloads","issues_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/ksenya-torkova/23249-code-and-magick/deployments","created_at":"2017-03-21T21:16:12Z","updated_at":"2017-03-21T21:16:14Z","pushed_at":"2017-04-03T11:25:28Z","git_url":"git://github.com/ksenya-torkova/23249-code-and-magick.git","ssh_url":"git@github.com:ksenya-torkova/23249-code-and-magick.git","clone_url":"https://github.com/ksenya-torkova/23249-code-and-magick.git","svn_url":"https://github.com/ksenya-torkova/23249-code-and-magick","homepage":null,"size":1083,"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-javascript:master","ref":"master","sha":"2de994cf3d1d31c50f4b5deaeff4becaf6b1dc15","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars1.githubusercontent.com/u/14179712?v=3","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":85754316,"name":"23249-code-and-magick","full_name":"htmlacademy-javascript/23249-code-and-magick","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars1.githubusercontent.com/u/14179712?v=3","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/23249-code-and-magick","description":"Ксения Торкова","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/deployments","created_at":"2017-03-21T21:15:44Z","updated_at":"2017-03-25T21:19:42Z","pushed_at":"2017-04-03T11:33:07Z","git_url":"git://github.com/htmlacademy-javascript/23249-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/23249-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/23249-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/23249-code-and-magick","homepage":"https://github.com/ksenya-torkova/23249-code-and-magick","size":1084,"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-javascript/23249-code-and-magick/pulls/2"},"html":{"href":"https://github.com/htmlacademy-javascript/23249-code-and-magick/pull/2"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/issues/2"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/23249-code-and-magick/statuses/e5a1f0ec3bbb3e07b37cd3293a028f242cd219b1"}}}}
{"actor":{"display_login":"varya"}}