{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/comments/97557228","pull_request_review_id":18169581,"id":97557228,"diff_hunk":"@@ -0,0 +1,92 @@\n+'use strict';\n+\n+function drawRectangle(ctx, x, y, width, height) {\n+  var borderRadius = 20;\n+  ctx.beginPath();\n+  ctx.moveTo(x + borderRadius, y);\n+  ctx.lineTo(x + width - borderRadius, y);\n+  ctx.quadraticCurveTo(\n+      x + width,\n+      y,\n+      x + width,\n+      y + borderRadius\n+  );\n+  ctx.lineTo(x + width, y + height - borderRadius);\n+  ctx.quadraticCurveTo(\n+      x + width,\n+      y + height,\n+      x + width - borderRadius,\n+      y + height\n+  );\n+  ctx.lineTo(x + borderRadius, y + height);\n+  ctx.quadraticCurveTo(\n+      x,\n+      y + height,\n+      x,\n+      y + height - borderRadius\n+  );\n+  ctx.lineTo(x, y + borderRadius);\n+  ctx.stroke();\n+  ctx.fill();\n+}\n+\n+function renderHistogram(ctx, names, times) {\n+  var maxTtime = Math.max.apply(Math, times);\n+\n+  for (var i = 0; i < times.length; i++) {\n+    var time = times[i];\n+    var name = names[i];\n+    var histogramHeight = 150;","path":"js/stat.js","position":39,"original_position":39,"commit_id":"8af0c0c1a5820b52fd87e68bcb148b7734de583c","original_commit_id":"8af0c0c1a5820b52fd87e68bcb148b7734de583c","user":{"login":"dyadya-glen","id":9801670,"avatar_url":"https://avatars.githubusercontent.com/u/9801670?v=3","gravatar_id":"","url":"https://api.github.com/users/dyadya-glen","html_url":"https://github.com/dyadya-glen","followers_url":"https://api.github.com/users/dyadya-glen/followers","following_url":"https://api.github.com/users/dyadya-glen/following{/other_user}","gists_url":"https://api.github.com/users/dyadya-glen/gists{/gist_id}","starred_url":"https://api.github.com/users/dyadya-glen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyadya-glen/subscriptions","organizations_url":"https://api.github.com/users/dyadya-glen/orgs","repos_url":"https://api.github.com/users/dyadya-glen/repos","events_url":"https://api.github.com/users/dyadya-glen/events{/privacy}","received_events_url":"https://api.github.com/users/dyadya-glen/received_events","type":"User","site_admin":false},"body":"готово","created_at":"2017-01-24T14:29:44Z","updated_at":"2017-01-24T14:29:44Z","html_url":"https://github.com/htmlacademy-javascript/48399-code-and-magick/pull/2#discussion_r97557228","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/comments/97557228"},"html":{"href":"https://github.com/htmlacademy-javascript/48399-code-and-magick/pull/2#discussion_r97557228"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/2","id":102635675,"html_url":"https://github.com/htmlacademy-javascript/48399-code-and-magick/pull/2","diff_url":"https://github.com/htmlacademy-javascript/48399-code-and-magick/pull/2.diff","patch_url":"https://github.com/htmlacademy-javascript/48399-code-and-magick/pull/2.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/issues/2","number":2,"state":"open","locked":false,"title":"Учебный проект: Холст","user":{"login":"dyadya-glen","id":9801670,"avatar_url":"https://avatars.githubusercontent.com/u/9801670?v=3","gravatar_id":"","url":"https://api.github.com/users/dyadya-glen","html_url":"https://github.com/dyadya-glen","followers_url":"https://api.github.com/users/dyadya-glen/followers","following_url":"https://api.github.com/users/dyadya-glen/following{/other_user}","gists_url":"https://api.github.com/users/dyadya-glen/gists{/gist_id}","starred_url":"https://api.github.com/users/dyadya-glen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyadya-glen/subscriptions","organizations_url":"https://api.github.com/users/dyadya-glen/orgs","repos_url":"https://api.github.com/users/dyadya-glen/repos","events_url":"https://api.github.com/users/dyadya-glen/events{/privacy}","received_events_url":"https://api.github.com/users/dyadya-glen/received_events","type":"User","site_admin":false},"body":"eslint, по прежнему выдает ошибки\n\n---\n:mortar_board: [Учебный проект: Холст](https://up.htmlacademy.ru/javascript/8/user/48399/tasks/8)\n\n:boom: https://htmlacademy-javascript.github.io/48399-code-and-magick/2/","created_at":"2017-01-22T21:06:24Z","updated_at":"2017-01-24T14:29:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"445c8cdb899e3728e43c6b77afd25faf8e2671e0","assignee":{"login":"panban","id":8193640,"avatar_url":"https://avatars.githubusercontent.com/u/8193640?v=3","gravatar_id":"","url":"https://api.github.com/users/panban","html_url":"https://github.com/panban","followers_url":"https://api.github.com/users/panban/followers","following_url":"https://api.github.com/users/panban/following{/other_user}","gists_url":"https://api.github.com/users/panban/gists{/gist_id}","starred_url":"https://api.github.com/users/panban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panban/subscriptions","organizations_url":"https://api.github.com/users/panban/orgs","repos_url":"https://api.github.com/users/panban/repos","events_url":"https://api.github.com/users/panban/events{/privacy}","received_events_url":"https://api.github.com/users/panban/received_events","type":"User","site_admin":false},"assignees":[{"login":"panban","id":8193640,"avatar_url":"https://avatars.githubusercontent.com/u/8193640?v=3","gravatar_id":"","url":"https://api.github.com/users/panban","html_url":"https://github.com/panban","followers_url":"https://api.github.com/users/panban/followers","following_url":"https://api.github.com/users/panban/following{/other_user}","gists_url":"https://api.github.com/users/panban/gists{/gist_id}","starred_url":"https://api.github.com/users/panban/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/panban/subscriptions","organizations_url":"https://api.github.com/users/panban/orgs","repos_url":"https://api.github.com/users/panban/repos","events_url":"https://api.github.com/users/panban/events{/privacy}","received_events_url":"https://api.github.com/users/panban/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/2/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/2/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/issues/2/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/statuses/8af0c0c1a5820b52fd87e68bcb148b7734de583c","head":{"label":"dyadya-glen:module2-task1","ref":"module2-task1","sha":"8af0c0c1a5820b52fd87e68bcb148b7734de583c","user":{"login":"dyadya-glen","id":9801670,"avatar_url":"https://avatars.githubusercontent.com/u/9801670?v=3","gravatar_id":"","url":"https://api.github.com/users/dyadya-glen","html_url":"https://github.com/dyadya-glen","followers_url":"https://api.github.com/users/dyadya-glen/followers","following_url":"https://api.github.com/users/dyadya-glen/following{/other_user}","gists_url":"https://api.github.com/users/dyadya-glen/gists{/gist_id}","starred_url":"https://api.github.com/users/dyadya-glen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyadya-glen/subscriptions","organizations_url":"https://api.github.com/users/dyadya-glen/orgs","repos_url":"https://api.github.com/users/dyadya-glen/repos","events_url":"https://api.github.com/users/dyadya-glen/events{/privacy}","received_events_url":"https://api.github.com/users/dyadya-glen/received_events","type":"User","site_admin":false},"repo":{"id":79376020,"name":"48399-code-and-magick","full_name":"dyadya-glen/48399-code-and-magick","owner":{"login":"dyadya-glen","id":9801670,"avatar_url":"https://avatars.githubusercontent.com/u/9801670?v=3","gravatar_id":"","url":"https://api.github.com/users/dyadya-glen","html_url":"https://github.com/dyadya-glen","followers_url":"https://api.github.com/users/dyadya-glen/followers","following_url":"https://api.github.com/users/dyadya-glen/following{/other_user}","gists_url":"https://api.github.com/users/dyadya-glen/gists{/gist_id}","starred_url":"https://api.github.com/users/dyadya-glen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dyadya-glen/subscriptions","organizations_url":"https://api.github.com/users/dyadya-glen/orgs","repos_url":"https://api.github.com/users/dyadya-glen/repos","events_url":"https://api.github.com/users/dyadya-glen/events{/privacy}","received_events_url":"https://api.github.com/users/dyadya-glen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dyadya-glen/48399-code-and-magick","description":"Роман Гуляев","fork":true,"url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick","forks_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/forks","keys_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/teams","hooks_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/events","assignees_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/tags","blobs_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/subscription","commits_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/merges","archive_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/downloads","issues_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/dyadya-glen/48399-code-and-magick/deployments","created_at":"2017-01-18T19:30:08Z","updated_at":"2017-01-18T19:30:09Z","pushed_at":"2017-01-24T12:23:28Z","git_url":"git://github.com/dyadya-glen/48399-code-and-magick.git","ssh_url":"git@github.com:dyadya-glen/48399-code-and-magick.git","clone_url":"https://github.com/dyadya-glen/48399-code-and-magick.git","svn_url":"https://github.com/dyadya-glen/48399-code-and-magick","homepage":null,"size":1094,"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-javascript:master","ref":"master","sha":"9a3eec3cbf44a6ec19211ef9003039e9bc198b42","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.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":79375985,"name":"48399-code-and-magick","full_name":"htmlacademy-javascript/48399-code-and-magick","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.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/48399-code-and-magick","description":"Роман Гуляев","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/deployments","created_at":"2017-01-18T19:29:38Z","updated_at":"2017-01-18T23:20:29Z","pushed_at":"2017-01-24T12:23:29Z","git_url":"git://github.com/htmlacademy-javascript/48399-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/48399-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/48399-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/48399-code-and-magick","homepage":"https://github.com/dyadya-glen/48399-code-and-magick","size":1079,"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-javascript/48399-code-and-magick/pulls/2"},"html":{"href":"https://github.com/htmlacademy-javascript/48399-code-and-magick/pull/2"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/issues/2"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/48399-code-and-magick/statuses/8af0c0c1a5820b52fd87e68bcb148b7734de583c"}}}}
{"actor":{"display_login":"dyadya-glen"}}