{"action":"created","comment":{"url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/comments/196388374","pull_request_review_id":129923679,"id":196388374,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjM4ODM3NA==","diff_hunk":"@@ -2,8 +2,55 @@ var Slider = function () {\n \n \t'use strict';\n \n-\treturn {\n+\tvar sliderAuto = true;\n+\tvar slideIndex = 0;\n+\n+\tenableSlider(1);\n \n+\tfunction disableAutoSlider() {\n+\t\tif (sliderAuto) {\n+\t\t\tsliderAuto = false;\n+\t\t\tclearTimeout(enableSlider);\n+\t\t}\n+\t}\n+\tfunction moveSlide(slide) {\n+\t\tdisableAutoSlider();\n+\t\tenableSlider(slideIndex += slide);\n+\t}\n+\tfunction currentSlide(slide) {\n+\t\tdisableAutoSlider();\n+\t\tenableSlider(slideIndex = slide);\n+\t}\n+\tfunction enableSlider(slide) {\n+\t\tvar slides = \t\tdocument.getElementsByClassName('slider__slide');","path":"app/src/assets/js/components/slider.js","position":25,"original_position":25,"commit_id":"3fef4c286bc2ee3142769191bdbbf9482762becc","original_commit_id":"ca126c945faf3f83b73070660916127f4d4819b0","user":{"login":"arctouch-ismaelstahelin","id":8039914,"node_id":"MDQ6VXNlcjgwMzk5MTQ=","avatar_url":"https://avatars2.githubusercontent.com/u/8039914?v=4","gravatar_id":"","url":"https://api.github.com/users/arctouch-ismaelstahelin","html_url":"https://github.com/arctouch-ismaelstahelin","followers_url":"https://api.github.com/users/arctouch-ismaelstahelin/followers","following_url":"https://api.github.com/users/arctouch-ismaelstahelin/following{/other_user}","gists_url":"https://api.github.com/users/arctouch-ismaelstahelin/gists{/gist_id}","starred_url":"https://api.github.com/users/arctouch-ismaelstahelin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arctouch-ismaelstahelin/subscriptions","organizations_url":"https://api.github.com/users/arctouch-ismaelstahelin/orgs","repos_url":"https://api.github.com/users/arctouch-ismaelstahelin/repos","events_url":"https://api.github.com/users/arctouch-ismaelstahelin/events{/privacy}","received_events_url":"https://api.github.com/users/arctouch-ismaelstahelin/received_events","type":"User","site_admin":false},"body":"`getElementByClassName` works here but I feel like nowadays we should be using `querySelector` or `querySelectorAll`. Do you agree?","created_at":"2018-06-19T11:35:43Z","updated_at":"2018-06-19T11:47:49Z","html_url":"https://github.com/alexbleggi/mobile-app-landing-page/pull/1#discussion_r196388374","pull_request_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/1","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/comments/196388374"},"html":{"href":"https://github.com/alexbleggi/mobile-app-landing-page/pull/1#discussion_r196388374"},"pull_request":{"href":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/1","id":194288827,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk0Mjg4ODI3","html_url":"https://github.com/alexbleggi/mobile-app-landing-page/pull/1","diff_url":"https://github.com/alexbleggi/mobile-app-landing-page/pull/1.diff","patch_url":"https://github.com/alexbleggi/mobile-app-landing-page/pull/1.patch","issue_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues/1","number":1,"state":"open","locked":false,"title":"Release","user":{"login":"alexbleggi","id":19542807,"node_id":"MDQ6VXNlcjE5NTQyODA3","avatar_url":"https://avatars0.githubusercontent.com/u/19542807?v=4","gravatar_id":"","url":"https://api.github.com/users/alexbleggi","html_url":"https://github.com/alexbleggi","followers_url":"https://api.github.com/users/alexbleggi/followers","following_url":"https://api.github.com/users/alexbleggi/following{/other_user}","gists_url":"https://api.github.com/users/alexbleggi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbleggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbleggi/subscriptions","organizations_url":"https://api.github.com/users/alexbleggi/orgs","repos_url":"https://api.github.com/users/alexbleggi/repos","events_url":"https://api.github.com/users/alexbleggi/events{/privacy}","received_events_url":"https://api.github.com/users/alexbleggi/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-12T13:56:29Z","updated_at":"2018-06-19T11:47:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7c215ddf4f3764d60ba811e0d2f524993cb671a7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/1/commits","review_comments_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/1/comments","review_comment_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues/1/comments","statuses_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/statuses/3fef4c286bc2ee3142769191bdbbf9482762becc","head":{"label":"alexbleggi:release","ref":"release","sha":"3fef4c286bc2ee3142769191bdbbf9482762becc","user":{"login":"alexbleggi","id":19542807,"node_id":"MDQ6VXNlcjE5NTQyODA3","avatar_url":"https://avatars0.githubusercontent.com/u/19542807?v=4","gravatar_id":"","url":"https://api.github.com/users/alexbleggi","html_url":"https://github.com/alexbleggi","followers_url":"https://api.github.com/users/alexbleggi/followers","following_url":"https://api.github.com/users/alexbleggi/following{/other_user}","gists_url":"https://api.github.com/users/alexbleggi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbleggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbleggi/subscriptions","organizations_url":"https://api.github.com/users/alexbleggi/orgs","repos_url":"https://api.github.com/users/alexbleggi/repos","events_url":"https://api.github.com/users/alexbleggi/events{/privacy}","received_events_url":"https://api.github.com/users/alexbleggi/received_events","type":"User","site_admin":false},"repo":{"id":137050222,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcwNTAyMjI=","name":"mobile-app-landing-page","full_name":"alexbleggi/mobile-app-landing-page","owner":{"login":"alexbleggi","id":19542807,"node_id":"MDQ6VXNlcjE5NTQyODA3","avatar_url":"https://avatars0.githubusercontent.com/u/19542807?v=4","gravatar_id":"","url":"https://api.github.com/users/alexbleggi","html_url":"https://github.com/alexbleggi","followers_url":"https://api.github.com/users/alexbleggi/followers","following_url":"https://api.github.com/users/alexbleggi/following{/other_user}","gists_url":"https://api.github.com/users/alexbleggi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbleggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbleggi/subscriptions","organizations_url":"https://api.github.com/users/alexbleggi/orgs","repos_url":"https://api.github.com/users/alexbleggi/repos","events_url":"https://api.github.com/users/alexbleggi/events{/privacy}","received_events_url":"https://api.github.com/users/alexbleggi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexbleggi/mobile-app-landing-page","description":null,"fork":false,"url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page","forks_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/forks","keys_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/teams","hooks_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/hooks","issue_events_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues/events{/number}","events_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/events","assignees_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/assignees{/user}","branches_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/branches{/branch}","tags_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/tags","blobs_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/statuses/{sha}","languages_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/languages","stargazers_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/stargazers","contributors_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/contributors","subscribers_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/subscribers","subscription_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/subscription","commits_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/contents/{+path}","compare_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/merges","archive_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/downloads","issues_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues{/number}","pulls_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls{/number}","milestones_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/milestones{/number}","notifications_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/labels{/name}","releases_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/releases{/id}","deployments_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/deployments","created_at":"2018-06-12T09:39:39Z","updated_at":"2018-06-12T09:42:00Z","pushed_at":"2018-06-12T13:56:29Z","git_url":"git://github.com/alexbleggi/mobile-app-landing-page.git","ssh_url":"git@github.com:alexbleggi/mobile-app-landing-page.git","clone_url":"https://github.com/alexbleggi/mobile-app-landing-page.git","svn_url":"https://github.com/alexbleggi/mobile-app-landing-page","homepage":null,"size":2427,"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":"alexbleggi:master","ref":"master","sha":"dbd9a442694e69e90cbc01e78a53e5011a0d3a74","user":{"login":"alexbleggi","id":19542807,"node_id":"MDQ6VXNlcjE5NTQyODA3","avatar_url":"https://avatars0.githubusercontent.com/u/19542807?v=4","gravatar_id":"","url":"https://api.github.com/users/alexbleggi","html_url":"https://github.com/alexbleggi","followers_url":"https://api.github.com/users/alexbleggi/followers","following_url":"https://api.github.com/users/alexbleggi/following{/other_user}","gists_url":"https://api.github.com/users/alexbleggi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbleggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbleggi/subscriptions","organizations_url":"https://api.github.com/users/alexbleggi/orgs","repos_url":"https://api.github.com/users/alexbleggi/repos","events_url":"https://api.github.com/users/alexbleggi/events{/privacy}","received_events_url":"https://api.github.com/users/alexbleggi/received_events","type":"User","site_admin":false},"repo":{"id":137050222,"node_id":"MDEwOlJlcG9zaXRvcnkxMzcwNTAyMjI=","name":"mobile-app-landing-page","full_name":"alexbleggi/mobile-app-landing-page","owner":{"login":"alexbleggi","id":19542807,"node_id":"MDQ6VXNlcjE5NTQyODA3","avatar_url":"https://avatars0.githubusercontent.com/u/19542807?v=4","gravatar_id":"","url":"https://api.github.com/users/alexbleggi","html_url":"https://github.com/alexbleggi","followers_url":"https://api.github.com/users/alexbleggi/followers","following_url":"https://api.github.com/users/alexbleggi/following{/other_user}","gists_url":"https://api.github.com/users/alexbleggi/gists{/gist_id}","starred_url":"https://api.github.com/users/alexbleggi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexbleggi/subscriptions","organizations_url":"https://api.github.com/users/alexbleggi/orgs","repos_url":"https://api.github.com/users/alexbleggi/repos","events_url":"https://api.github.com/users/alexbleggi/events{/privacy}","received_events_url":"https://api.github.com/users/alexbleggi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alexbleggi/mobile-app-landing-page","description":null,"fork":false,"url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page","forks_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/forks","keys_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/teams","hooks_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/hooks","issue_events_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues/events{/number}","events_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/events","assignees_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/assignees{/user}","branches_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/branches{/branch}","tags_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/tags","blobs_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/refs{/sha}","trees_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/statuses/{sha}","languages_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/languages","stargazers_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/stargazers","contributors_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/contributors","subscribers_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/subscribers","subscription_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/subscription","commits_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/commits{/sha}","git_commits_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/git/commits{/sha}","comments_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/comments{/number}","issue_comment_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues/comments{/number}","contents_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/contents/{+path}","compare_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/merges","archive_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/downloads","issues_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues{/number}","pulls_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls{/number}","milestones_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/milestones{/number}","notifications_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/labels{/name}","releases_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/releases{/id}","deployments_url":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/deployments","created_at":"2018-06-12T09:39:39Z","updated_at":"2018-06-12T09:42:00Z","pushed_at":"2018-06-12T13:56:29Z","git_url":"git://github.com/alexbleggi/mobile-app-landing-page.git","ssh_url":"git@github.com:alexbleggi/mobile-app-landing-page.git","clone_url":"https://github.com/alexbleggi/mobile-app-landing-page.git","svn_url":"https://github.com/alexbleggi/mobile-app-landing-page","homepage":null,"size":2427,"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/alexbleggi/mobile-app-landing-page/pulls/1"},"html":{"href":"https://github.com/alexbleggi/mobile-app-landing-page/pull/1"},"issue":{"href":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues/1"},"comments":{"href":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/alexbleggi/mobile-app-landing-page/statuses/3fef4c286bc2ee3142769191bdbbf9482762becc"}},"author_association":"OWNER"}}
{"actor":{"display_login":"arctouch-ismaelstahelin"}}