{"action":"created","comment":{"url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/comments/239409418","pull_request_review_id":182183236,"id":239409418,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzOTQwOTQxOA==","diff_hunk":"@@ -0,0 +1,26 @@\n+/* global document */\n+const sliders = [...document.querySelectorAll('.comment')];\n+\n+let translateX = 0;\n+const handleSliderClick = function(e) {\n+  const allComents = e.currentTarget.querySelector('.overflowed');\n+  const commentLength = allComents.querySelectorAll('.slide-items').length;\n+  /* eslint-disable-next-line  */\n+  const pressedNext = e.path.indexOf(e.currentTarget.querySelector('.next')) !== -1;\n+  /* eslint-disable-next-line  */\n+  const pressedPrev = e.path.indexOf(e.currentTarget.querySelector('.back')) !== -1;\n+  const lastElemOfSlider = translateX === -33.33333 * (commentLength - 1);\n+  const firstElemOfSlider = translateX * commentLength === 0;\n+\n+  if (pressedNext) {\n+    lastElemOfSlider ? translateX = 0 : translateX -= 33.33333;","path":"css-practice/task3/workspace/slider.js","position":16,"original_position":16,"commit_id":"eacab83e98a32c1104fc8521f296d02e8ca2faa1","original_commit_id":"eacab83e98a32c1104fc8521f296d02e8ca2faa1","user":{"login":"tarasbobak","id":12515715,"node_id":"MDQ6VXNlcjEyNTE1NzE1","avatar_url":"https://avatars2.githubusercontent.com/u/12515715?v=4","gravatar_id":"","url":"https://api.github.com/users/tarasbobak","html_url":"https://github.com/tarasbobak","followers_url":"https://api.github.com/users/tarasbobak/followers","following_url":"https://api.github.com/users/tarasbobak/following{/other_user}","gists_url":"https://api.github.com/users/tarasbobak/gists{/gist_id}","starred_url":"https://api.github.com/users/tarasbobak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarasbobak/subscriptions","organizations_url":"https://api.github.com/users/tarasbobak/orgs","repos_url":"https://api.github.com/users/tarasbobak/repos","events_url":"https://api.github.com/users/tarasbobak/events{/privacy}","received_events_url":"https://api.github.com/users/tarasbobak/received_events","type":"User","site_admin":false},"body":"By the way, why not 33.333333333333 or 33.3 ?","created_at":"2018-12-06T10:57:23Z","updated_at":"2018-12-06T10:57:23Z","html_url":"https://github.com/griddynamics/ui-internship-lwo2/pull/179#discussion_r239409418","pull_request_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/179","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/comments/239409418"},"html":{"href":"https://github.com/griddynamics/ui-internship-lwo2/pull/179#discussion_r239409418"},"pull_request":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/179"}}},"pull_request":{"url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/179","id":235504527,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM1NTA0NTI3","html_url":"https://github.com/griddynamics/ui-internship-lwo2/pull/179","diff_url":"https://github.com/griddynamics/ui-internship-lwo2/pull/179.diff","patch_url":"https://github.com/griddynamics/ui-internship-lwo2/pull/179.patch","issue_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/179","number":179,"state":"open","locked":false,"title":"[TARAS YAKYMIUK]Task3","user":{"login":"taras1313","id":38490294,"node_id":"MDQ6VXNlcjM4NDkwMjk0","avatar_url":"https://avatars1.githubusercontent.com/u/38490294?v=4","gravatar_id":"","url":"https://api.github.com/users/taras1313","html_url":"https://github.com/taras1313","followers_url":"https://api.github.com/users/taras1313/followers","following_url":"https://api.github.com/users/taras1313/following{/other_user}","gists_url":"https://api.github.com/users/taras1313/gists{/gist_id}","starred_url":"https://api.github.com/users/taras1313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taras1313/subscriptions","organizations_url":"https://api.github.com/users/taras1313/orgs","repos_url":"https://api.github.com/users/taras1313/repos","events_url":"https://api.github.com/users/taras1313/events{/privacy}","received_events_url":"https://api.github.com/users/taras1313/received_events","type":"User","site_admin":false},"body":"https://taras1313.github.io/ui-internship-lwo2/css-practice/task3/workspace/index.html","created_at":"2018-12-03T16:13:50Z","updated_at":"2018-12-06T10:57:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ecff6f91c155d6bc4cf28492392aff6ec653192e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/179/commits","review_comments_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/179/comments","review_comment_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/179/comments","statuses_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/statuses/eacab83e98a32c1104fc8521f296d02e8ca2faa1","head":{"label":"taras1313:task3","ref":"task3","sha":"eacab83e98a32c1104fc8521f296d02e8ca2faa1","user":{"login":"taras1313","id":38490294,"node_id":"MDQ6VXNlcjM4NDkwMjk0","avatar_url":"https://avatars1.githubusercontent.com/u/38490294?v=4","gravatar_id":"","url":"https://api.github.com/users/taras1313","html_url":"https://github.com/taras1313","followers_url":"https://api.github.com/users/taras1313/followers","following_url":"https://api.github.com/users/taras1313/following{/other_user}","gists_url":"https://api.github.com/users/taras1313/gists{/gist_id}","starred_url":"https://api.github.com/users/taras1313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taras1313/subscriptions","organizations_url":"https://api.github.com/users/taras1313/orgs","repos_url":"https://api.github.com/users/taras1313/repos","events_url":"https://api.github.com/users/taras1313/events{/privacy}","received_events_url":"https://api.github.com/users/taras1313/received_events","type":"User","site_admin":false},"repo":{"id":153412148,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM0MTIxNDg=","name":"ui-internship-lwo2","full_name":"taras1313/ui-internship-lwo2","private":false,"owner":{"login":"taras1313","id":38490294,"node_id":"MDQ6VXNlcjM4NDkwMjk0","avatar_url":"https://avatars1.githubusercontent.com/u/38490294?v=4","gravatar_id":"","url":"https://api.github.com/users/taras1313","html_url":"https://github.com/taras1313","followers_url":"https://api.github.com/users/taras1313/followers","following_url":"https://api.github.com/users/taras1313/following{/other_user}","gists_url":"https://api.github.com/users/taras1313/gists{/gist_id}","starred_url":"https://api.github.com/users/taras1313/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/taras1313/subscriptions","organizations_url":"https://api.github.com/users/taras1313/orgs","repos_url":"https://api.github.com/users/taras1313/repos","events_url":"https://api.github.com/users/taras1313/events{/privacy}","received_events_url":"https://api.github.com/users/taras1313/received_events","type":"User","site_admin":false},"html_url":"https://github.com/taras1313/ui-internship-lwo2","description":"IT-41965","fork":true,"url":"https://api.github.com/repos/taras1313/ui-internship-lwo2","forks_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/forks","keys_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/teams","hooks_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/hooks","issue_events_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/issues/events{/number}","events_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/events","assignees_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/assignees{/user}","branches_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/branches{/branch}","tags_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/tags","blobs_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/git/refs{/sha}","trees_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/statuses/{sha}","languages_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/languages","stargazers_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/stargazers","contributors_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/contributors","subscribers_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/subscribers","subscription_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/subscription","commits_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/commits{/sha}","git_commits_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/git/commits{/sha}","comments_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/comments{/number}","issue_comment_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/issues/comments{/number}","contents_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/contents/{+path}","compare_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/merges","archive_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/downloads","issues_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/issues{/number}","pulls_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/pulls{/number}","milestones_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/milestones{/number}","notifications_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/labels{/name}","releases_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/releases{/id}","deployments_url":"https://api.github.com/repos/taras1313/ui-internship-lwo2/deployments","created_at":"2018-10-17T07:14:19Z","updated_at":"2018-11-21T13:51:54Z","pushed_at":"2018-12-05T13:33:22Z","git_url":"git://github.com/taras1313/ui-internship-lwo2.git","ssh_url":"git@github.com:taras1313/ui-internship-lwo2.git","clone_url":"https://github.com/taras1313/ui-internship-lwo2.git","svn_url":"https://github.com/taras1313/ui-internship-lwo2","homepage":null,"size":24388,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"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":"griddynamics:taras-yakymiuk","ref":"taras-yakymiuk","sha":"23cc4af5bcffd0fac7665ea14c6537f34776aeca","user":{"login":"griddynamics","id":54911,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTEx","avatar_url":"https://avatars1.githubusercontent.com/u/54911?v=4","gravatar_id":"","url":"https://api.github.com/users/griddynamics","html_url":"https://github.com/griddynamics","followers_url":"https://api.github.com/users/griddynamics/followers","following_url":"https://api.github.com/users/griddynamics/following{/other_user}","gists_url":"https://api.github.com/users/griddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/griddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griddynamics/subscriptions","organizations_url":"https://api.github.com/users/griddynamics/orgs","repos_url":"https://api.github.com/users/griddynamics/repos","events_url":"https://api.github.com/users/griddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/griddynamics/received_events","type":"Organization","site_admin":false},"repo":{"id":152431415,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI0MzE0MTU=","name":"ui-internship-lwo2","full_name":"griddynamics/ui-internship-lwo2","private":false,"owner":{"login":"griddynamics","id":54911,"node_id":"MDEyOk9yZ2FuaXphdGlvbjU0OTEx","avatar_url":"https://avatars1.githubusercontent.com/u/54911?v=4","gravatar_id":"","url":"https://api.github.com/users/griddynamics","html_url":"https://github.com/griddynamics","followers_url":"https://api.github.com/users/griddynamics/followers","following_url":"https://api.github.com/users/griddynamics/following{/other_user}","gists_url":"https://api.github.com/users/griddynamics/gists{/gist_id}","starred_url":"https://api.github.com/users/griddynamics/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/griddynamics/subscriptions","organizations_url":"https://api.github.com/users/griddynamics/orgs","repos_url":"https://api.github.com/users/griddynamics/repos","events_url":"https://api.github.com/users/griddynamics/events{/privacy}","received_events_url":"https://api.github.com/users/griddynamics/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/griddynamics/ui-internship-lwo2","description":"IT-41965","fork":false,"url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2","forks_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/forks","keys_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/teams","hooks_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/hooks","issue_events_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/events{/number}","events_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/events","assignees_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/assignees{/user}","branches_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/branches{/branch}","tags_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/tags","blobs_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/refs{/sha}","trees_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/statuses/{sha}","languages_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/languages","stargazers_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/stargazers","contributors_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/contributors","subscribers_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/subscribers","subscription_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/subscription","commits_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/commits{/sha}","git_commits_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/git/commits{/sha}","comments_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/comments{/number}","issue_comment_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/comments{/number}","contents_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/contents/{+path}","compare_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/merges","archive_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/downloads","issues_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues{/number}","pulls_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls{/number}","milestones_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/milestones{/number}","notifications_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/labels{/name}","releases_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/releases{/id}","deployments_url":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/deployments","created_at":"2018-10-10T13:50:50Z","updated_at":"2018-11-28T10:46:08Z","pushed_at":"2018-12-06T10:19:14Z","git_url":"git://github.com/griddynamics/ui-internship-lwo2.git","ssh_url":"git@github.com:griddynamics/ui-internship-lwo2.git","clone_url":"https://github.com/griddynamics/ui-internship-lwo2.git","svn_url":"https://github.com/griddynamics/ui-internship-lwo2","homepage":null,"size":129570,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":25,"license":null,"forks":10,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/179"},"html":{"href":"https://github.com/griddynamics/ui-internship-lwo2/pull/179"},"issue":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/179"},"comments":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/issues/179/comments"},"review_comments":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/179/comments"},"review_comment":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/pulls/179/commits"},"statuses":{"href":"https://api.github.com/repos/griddynamics/ui-internship-lwo2/statuses/eacab83e98a32c1104fc8521f296d02e8ca2faa1"}},"author_association":"NONE"}}
{"actor":{"display_login":"tarasbobak"}}