{"action":"created","comment":{"url":"https://api.github.com/repos/ursakacar/tajmo/pulls/comments/255575510","pull_request_review_id":202185915,"id":255575510,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1NTU3NTUxMA==","diff_hunk":"@@ -0,0 +1,75 @@\n+const current_watch = document.querySelector('#selected-watch');\n+const final = document.querySelector('#final-wrap');\n+const final_text = document.querySelector('#subtitle');\n+const send = document.querySelector('#send-button');\n+const form =  document.querySelector('#final-watch-url');\n+const watches = document.querySelectorAll('#watches-panel img');\n+const buttons = document.querySelectorAll('.watch-button');\n+const wrapper = document.querySelectorAll('.selection-panel');\n+\n+first_click = false;\n+current_thumb = null;\n+current_button = null;\n+one_watch = null;\n+removed_watches = 0;\n+\n+buttons.forEach(div => div.addEventListener('click', removeWatch));\n+watches.forEach(img => img.addEventListener('click', imgSwitch));\n+\n+function removeFirstClickClass() {\n+  watches.forEach(img => (img.classList.remove('watches-first-selection')));\n+  watches.forEach(img => (img.classList.add('watches-selection')));\n+}\n+\n+function addClass(a, b) {\n+  a.classList.add(b);\n+}\n+\n+function removeClass(a, b) {\n+  a.classList.remove(b);\n+}\n+\n+function removeWatch(button) {\n+  current_thumb.remove();\n+  button.target.remove();\n+  current_watch.src = './bdbuno.jpeg';\n+  addClass(current_watch, 'final-showcase');\n+  removed_watches++;\n+  if (removed_watches == watches.length - 1) {\n+    one_watch = document.querySelectorAll('.watch-thumb');\n+    console.log(one_watch[0].src);\n+    wrapper.forEach(div => (div.classList.add('zero-opacity')));\n+    addClass(final_text, 'zero-opacity');\n+    setTimeout(theOne, 2000);\n+  }\n+}\n+\n+function imgSwitch(watch) {\n+  if (first_click == false) {\n+    watches.forEach(img => (img.classList.add('watches-first-selection')));\n+    setTimeout(removeFirstClickClass, 2500);\n+    first_click = true;\n+  }\n+  if (current_button !== null) {\n+    removeClass(current_button, 'watch-button-selected');\n+  }\n+  watches.forEach(img => (img.style.opacity = 0.8));","path":"script.js","position":56,"original_position":56,"commit_id":"7900cffb7c1fe4189da02a336f730b6f55b92b86","original_commit_id":"7900cffb7c1fe4189da02a336f730b6f55b92b86","user":{"login":"3buson","id":6026190,"node_id":"MDQ6VXNlcjYwMjYxOTA=","avatar_url":"https://avatars1.githubusercontent.com/u/6026190?v=4","gravatar_id":"","url":"https://api.github.com/users/3buson","html_url":"https://github.com/3buson","followers_url":"https://api.github.com/users/3buson/followers","following_url":"https://api.github.com/users/3buson/following{/other_user}","gists_url":"https://api.github.com/users/3buson/gists{/gist_id}","starred_url":"https://api.github.com/users/3buson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/3buson/subscriptions","organizations_url":"https://api.github.com/users/3buson/orgs","repos_url":"https://api.github.com/users/3buson/repos","events_url":"https://api.github.com/users/3buson/events{/privacy}","received_events_url":"https://api.github.com/users/3buson/received_events","type":"User","site_admin":false},"body":"This is some nice piece of ES6 function syntax `(arg => func)`. Why wouldn't we use it everywhere? :)","created_at":"2019-02-11T16:08:51Z","updated_at":"2019-02-11T16:24:59Z","html_url":"https://github.com/ursakacar/tajmo/pull/1#discussion_r255575510","pull_request_url":"https://api.github.com/repos/ursakacar/tajmo/pulls/1","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/ursakacar/tajmo/pulls/comments/255575510"},"html":{"href":"https://github.com/ursakacar/tajmo/pull/1#discussion_r255575510"},"pull_request":{"href":"https://api.github.com/repos/ursakacar/tajmo/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/ursakacar/tajmo/pulls/1","id":251707255,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUxNzA3MjU1","html_url":"https://github.com/ursakacar/tajmo/pull/1","diff_url":"https://github.com/ursakacar/tajmo/pull/1.diff","patch_url":"https://github.com/ursakacar/tajmo/pull/1.patch","issue_url":"https://api.github.com/repos/ursakacar/tajmo/issues/1","number":1,"state":"open","locked":false,"title":"Tajmo v1","user":{"login":"ursakacar","id":12891976,"node_id":"MDQ6VXNlcjEyODkxOTc2","avatar_url":"https://avatars0.githubusercontent.com/u/12891976?v=4","gravatar_id":"","url":"https://api.github.com/users/ursakacar","html_url":"https://github.com/ursakacar","followers_url":"https://api.github.com/users/ursakacar/followers","following_url":"https://api.github.com/users/ursakacar/following{/other_user}","gists_url":"https://api.github.com/users/ursakacar/gists{/gist_id}","starred_url":"https://api.github.com/users/ursakacar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ursakacar/subscriptions","organizations_url":"https://api.github.com/users/ursakacar/orgs","repos_url":"https://api.github.com/users/ursakacar/repos","events_url":"https://api.github.com/users/ursakacar/events{/privacy}","received_events_url":"https://api.github.com/users/ursakacar/received_events","type":"User","site_admin":false},"body":"Please review the final and cleaned up version of the mess that is happy birthday tajmo page. ","created_at":"2019-02-10T00:04:12Z","updated_at":"2019-02-11T16:24:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95e9d9d0ccb23eaf878239961f9c64314d1cf04f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/ursakacar/tajmo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ursakacar/tajmo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ursakacar/tajmo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ursakacar/tajmo/issues/1/comments","statuses_url":"https://api.github.com/repos/ursakacar/tajmo/statuses/7900cffb7c1fe4189da02a336f730b6f55b92b86","head":{"label":"ursakacar:tajmo-v1","ref":"tajmo-v1","sha":"7900cffb7c1fe4189da02a336f730b6f55b92b86","user":{"login":"ursakacar","id":12891976,"node_id":"MDQ6VXNlcjEyODkxOTc2","avatar_url":"https://avatars0.githubusercontent.com/u/12891976?v=4","gravatar_id":"","url":"https://api.github.com/users/ursakacar","html_url":"https://github.com/ursakacar","followers_url":"https://api.github.com/users/ursakacar/followers","following_url":"https://api.github.com/users/ursakacar/following{/other_user}","gists_url":"https://api.github.com/users/ursakacar/gists{/gist_id}","starred_url":"https://api.github.com/users/ursakacar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ursakacar/subscriptions","organizations_url":"https://api.github.com/users/ursakacar/orgs","repos_url":"https://api.github.com/users/ursakacar/repos","events_url":"https://api.github.com/users/ursakacar/events{/privacy}","received_events_url":"https://api.github.com/users/ursakacar/received_events","type":"User","site_admin":false},"repo":{"id":167930317,"node_id":"MDEwOlJlcG9zaXRvcnkxNjc5MzAzMTc=","name":"tajmo","full_name":"ursakacar/tajmo","private":false,"owner":{"login":"ursakacar","id":12891976,"node_id":"MDQ6VXNlcjEyODkxOTc2","avatar_url":"https://avatars0.githubusercontent.com/u/12891976?v=4","gravatar_id":"","url":"https://api.github.com/users/ursakacar","html_url":"https://github.com/ursakacar","followers_url":"https://api.github.com/users/ursakacar/followers","following_url":"https://api.github.com/users/ursakacar/following{/other_user}","gists_url":"https://api.github.com/users/ursakacar/gists{/gist_id}","starred_url":"https://api.github.com/users/ursakacar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ursakacar/subscriptions","organizations_url":"https://api.github.com/users/ursakacar/orgs","repos_url":"https://api.github.com/users/ursakacar/repos","events_url":"https://api.github.com/users/ursakacar/events{/privacy}","received_events_url":"https://api.github.com/users/ursakacar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ursakacar/tajmo","description":null,"fork":false,"url":"https://api.github.com/repos/ursakacar/tajmo","forks_url":"https://api.github.com/repos/ursakacar/tajmo/forks","keys_url":"https://api.github.com/repos/ursakacar/tajmo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ursakacar/tajmo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ursakacar/tajmo/teams","hooks_url":"https://api.github.com/repos/ursakacar/tajmo/hooks","issue_events_url":"https://api.github.com/repos/ursakacar/tajmo/issues/events{/number}","events_url":"https://api.github.com/repos/ursakacar/tajmo/events","assignees_url":"https://api.github.com/repos/ursakacar/tajmo/assignees{/user}","branches_url":"https://api.github.com/repos/ursakacar/tajmo/branches{/branch}","tags_url":"https://api.github.com/repos/ursakacar/tajmo/tags","blobs_url":"https://api.github.com/repos/ursakacar/tajmo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ursakacar/tajmo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ursakacar/tajmo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ursakacar/tajmo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ursakacar/tajmo/statuses/{sha}","languages_url":"https://api.github.com/repos/ursakacar/tajmo/languages","stargazers_url":"https://api.github.com/repos/ursakacar/tajmo/stargazers","contributors_url":"https://api.github.com/repos/ursakacar/tajmo/contributors","subscribers_url":"https://api.github.com/repos/ursakacar/tajmo/subscribers","subscription_url":"https://api.github.com/repos/ursakacar/tajmo/subscription","commits_url":"https://api.github.com/repos/ursakacar/tajmo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ursakacar/tajmo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ursakacar/tajmo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ursakacar/tajmo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ursakacar/tajmo/contents/{+path}","compare_url":"https://api.github.com/repos/ursakacar/tajmo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ursakacar/tajmo/merges","archive_url":"https://api.github.com/repos/ursakacar/tajmo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ursakacar/tajmo/downloads","issues_url":"https://api.github.com/repos/ursakacar/tajmo/issues{/number}","pulls_url":"https://api.github.com/repos/ursakacar/tajmo/pulls{/number}","milestones_url":"https://api.github.com/repos/ursakacar/tajmo/milestones{/number}","notifications_url":"https://api.github.com/repos/ursakacar/tajmo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ursakacar/tajmo/labels{/name}","releases_url":"https://api.github.com/repos/ursakacar/tajmo/releases{/id}","deployments_url":"https://api.github.com/repos/ursakacar/tajmo/deployments","created_at":"2019-01-28T08:58:42Z","updated_at":"2019-02-10T00:01:35Z","pushed_at":"2019-02-10T00:04:12Z","git_url":"git://github.com/ursakacar/tajmo.git","ssh_url":"git@github.com:ursakacar/tajmo.git","clone_url":"https://github.com/ursakacar/tajmo.git","svn_url":"https://github.com/ursakacar/tajmo","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ursakacar:master","ref":"master","sha":"1a2a9d5c6c741a2cb15d2df005f4d13a749b16fe","user":{"login":"ursakacar","id":12891976,"node_id":"MDQ6VXNlcjEyODkxOTc2","avatar_url":"https://avatars0.githubusercontent.com/u/12891976?v=4","gravatar_id":"","url":"https://api.github.com/users/ursakacar","html_url":"https://github.com/ursakacar","followers_url":"https://api.github.com/users/ursakacar/followers","following_url":"https://api.github.com/users/ursakacar/following{/other_user}","gists_url":"https://api.github.com/users/ursakacar/gists{/gist_id}","starred_url":"https://api.github.com/users/ursakacar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ursakacar/subscriptions","organizations_url":"https://api.github.com/users/ursakacar/orgs","repos_url":"https://api.github.com/users/ursakacar/repos","events_url":"https://api.github.com/users/ursakacar/events{/privacy}","received_events_url":"https://api.github.com/users/ursakacar/received_events","type":"User","site_admin":false},"repo":{"id":167930317,"node_id":"MDEwOlJlcG9zaXRvcnkxNjc5MzAzMTc=","name":"tajmo","full_name":"ursakacar/tajmo","private":false,"owner":{"login":"ursakacar","id":12891976,"node_id":"MDQ6VXNlcjEyODkxOTc2","avatar_url":"https://avatars0.githubusercontent.com/u/12891976?v=4","gravatar_id":"","url":"https://api.github.com/users/ursakacar","html_url":"https://github.com/ursakacar","followers_url":"https://api.github.com/users/ursakacar/followers","following_url":"https://api.github.com/users/ursakacar/following{/other_user}","gists_url":"https://api.github.com/users/ursakacar/gists{/gist_id}","starred_url":"https://api.github.com/users/ursakacar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ursakacar/subscriptions","organizations_url":"https://api.github.com/users/ursakacar/orgs","repos_url":"https://api.github.com/users/ursakacar/repos","events_url":"https://api.github.com/users/ursakacar/events{/privacy}","received_events_url":"https://api.github.com/users/ursakacar/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ursakacar/tajmo","description":null,"fork":false,"url":"https://api.github.com/repos/ursakacar/tajmo","forks_url":"https://api.github.com/repos/ursakacar/tajmo/forks","keys_url":"https://api.github.com/repos/ursakacar/tajmo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ursakacar/tajmo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ursakacar/tajmo/teams","hooks_url":"https://api.github.com/repos/ursakacar/tajmo/hooks","issue_events_url":"https://api.github.com/repos/ursakacar/tajmo/issues/events{/number}","events_url":"https://api.github.com/repos/ursakacar/tajmo/events","assignees_url":"https://api.github.com/repos/ursakacar/tajmo/assignees{/user}","branches_url":"https://api.github.com/repos/ursakacar/tajmo/branches{/branch}","tags_url":"https://api.github.com/repos/ursakacar/tajmo/tags","blobs_url":"https://api.github.com/repos/ursakacar/tajmo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ursakacar/tajmo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ursakacar/tajmo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ursakacar/tajmo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ursakacar/tajmo/statuses/{sha}","languages_url":"https://api.github.com/repos/ursakacar/tajmo/languages","stargazers_url":"https://api.github.com/repos/ursakacar/tajmo/stargazers","contributors_url":"https://api.github.com/repos/ursakacar/tajmo/contributors","subscribers_url":"https://api.github.com/repos/ursakacar/tajmo/subscribers","subscription_url":"https://api.github.com/repos/ursakacar/tajmo/subscription","commits_url":"https://api.github.com/repos/ursakacar/tajmo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ursakacar/tajmo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ursakacar/tajmo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ursakacar/tajmo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ursakacar/tajmo/contents/{+path}","compare_url":"https://api.github.com/repos/ursakacar/tajmo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ursakacar/tajmo/merges","archive_url":"https://api.github.com/repos/ursakacar/tajmo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ursakacar/tajmo/downloads","issues_url":"https://api.github.com/repos/ursakacar/tajmo/issues{/number}","pulls_url":"https://api.github.com/repos/ursakacar/tajmo/pulls{/number}","milestones_url":"https://api.github.com/repos/ursakacar/tajmo/milestones{/number}","notifications_url":"https://api.github.com/repos/ursakacar/tajmo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ursakacar/tajmo/labels{/name}","releases_url":"https://api.github.com/repos/ursakacar/tajmo/releases{/id}","deployments_url":"https://api.github.com/repos/ursakacar/tajmo/deployments","created_at":"2019-01-28T08:58:42Z","updated_at":"2019-02-10T00:01:35Z","pushed_at":"2019-02-10T00:04:12Z","git_url":"git://github.com/ursakacar/tajmo.git","ssh_url":"git@github.com:ursakacar/tajmo.git","clone_url":"https://github.com/ursakacar/tajmo.git","svn_url":"https://github.com/ursakacar/tajmo","homepage":null,"size":84,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ursakacar/tajmo/pulls/1"},"html":{"href":"https://github.com/ursakacar/tajmo/pull/1"},"issue":{"href":"https://api.github.com/repos/ursakacar/tajmo/issues/1"},"comments":{"href":"https://api.github.com/repos/ursakacar/tajmo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ursakacar/tajmo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ursakacar/tajmo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ursakacar/tajmo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ursakacar/tajmo/statuses/7900cffb7c1fe4189da02a336f730b6f55b92b86"}},"author_association":"OWNER"}}
{"actor":{"display_login":"3buson"}}