{"action":"created","comment":{"url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/comments/80010075","id":80010075,"diff_hunk":"@@ -455,17 +522,11 @@\n         <script>\n             var reveal = 0;\n             var totalElements = document.querySelectorAll('.code-comment').length;\n-            var offset = Math.floor(document.getElementById(\"recap\").offsetHeight / totalElements) - 2;\n             document.addEventListener('keydown', function(event) {\n-\n-                console.log(totalElements)\n-\n                 if(event.keyCode == 85) {\n                     if(reveal < totalElements) {\n                         document.getElementById(reveal.toString()).style.display = 'block';\n-                        document.getElementById(reveal.toString()).style.top = offset + 'px';\n                         reveal++;\n-                        offset += Math.floor((document.getElementById(\"recap\").offsetHeight / totalElements) - 0.5);\n                     }\n                 }\n             });","path":"slides/git-intro/index.html","position":null,"original_position":176,"commit_id":"677ec204dffccdedc77987460909349f568b3130","original_commit_id":"677ec204dffccdedc77987460909349f568b3130","user":{"login":"michael-martin","id":825998,"avatar_url":"https://avatars.githubusercontent.com/u/825998?v=3","gravatar_id":"","url":"https://api.github.com/users/michael-martin","html_url":"https://github.com/michael-martin","followers_url":"https://api.github.com/users/michael-martin/followers","following_url":"https://api.github.com/users/michael-martin/following{/other_user}","gists_url":"https://api.github.com/users/michael-martin/gists{/gist_id}","starred_url":"https://api.github.com/users/michael-martin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michael-martin/subscriptions","organizations_url":"https://api.github.com/users/michael-martin/orgs","repos_url":"https://api.github.com/users/michael-martin/repos","events_url":"https://api.github.com/users/michael-martin/events{/privacy}","received_events_url":"https://api.github.com/users/michael-martin/received_events","type":"User","site_admin":false},"body":"Nice work, fixed it perfectly! Merging this now :)","created_at":"2016-09-22T10:05:07Z","updated_at":"2016-09-22T10:05:07Z","html_url":"https://github.com/DeloitteDigitalUK/reveal.js/pull/3#discussion_r80010075","pull_request_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/comments/80010075"},"html":{"href":"https://github.com/DeloitteDigitalUK/reveal.js/pull/3#discussion_r80010075"},"pull_request":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/3","id":86118422,"html_url":"https://github.com/DeloitteDigitalUK/reveal.js/pull/3","diff_url":"https://github.com/DeloitteDigitalUK/reveal.js/pull/3.diff","patch_url":"https://github.com/DeloitteDigitalUK/reveal.js/pull/3.patch","issue_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues/3","number":3,"state":"open","locked":false,"title":"Adding 'Intro to Git' presentation.","user":{"login":"prettyflyit","id":13772473,"avatar_url":"https://avatars.githubusercontent.com/u/13772473?v=3","gravatar_id":"","url":"https://api.github.com/users/prettyflyit","html_url":"https://github.com/prettyflyit","followers_url":"https://api.github.com/users/prettyflyit/followers","following_url":"https://api.github.com/users/prettyflyit/following{/other_user}","gists_url":"https://api.github.com/users/prettyflyit/gists{/gist_id}","starred_url":"https://api.github.com/users/prettyflyit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prettyflyit/subscriptions","organizations_url":"https://api.github.com/users/prettyflyit/orgs","repos_url":"https://api.github.com/users/prettyflyit/repos","events_url":"https://api.github.com/users/prettyflyit/events{/privacy}","received_events_url":"https://api.github.com/users/prettyflyit/received_events","type":"User","site_admin":false},"body":"Slight issue with formatting on highlight.js using 'zsh', 'sh' or 'bash', alignment is off unless code fragment has **no** indentation?","created_at":"2016-09-21T08:31:38Z","updated_at":"2016-09-22T10:05:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f12047ea1790f4f86d7131143c512d63a424223c","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/3/commits","review_comments_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/3/comments","review_comment_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues/3/comments","statuses_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/statuses/677ec204dffccdedc77987460909349f568b3130","head":{"label":"DeloitteDigitalUK:introToGit","ref":"introToGit","sha":"677ec204dffccdedc77987460909349f568b3130","user":{"login":"DeloitteDigitalUK","id":10812267,"avatar_url":"https://avatars.githubusercontent.com/u/10812267?v=3","gravatar_id":"","url":"https://api.github.com/users/DeloitteDigitalUK","html_url":"https://github.com/DeloitteDigitalUK","followers_url":"https://api.github.com/users/DeloitteDigitalUK/followers","following_url":"https://api.github.com/users/DeloitteDigitalUK/following{/other_user}","gists_url":"https://api.github.com/users/DeloitteDigitalUK/gists{/gist_id}","starred_url":"https://api.github.com/users/DeloitteDigitalUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeloitteDigitalUK/subscriptions","organizations_url":"https://api.github.com/users/DeloitteDigitalUK/orgs","repos_url":"https://api.github.com/users/DeloitteDigitalUK/repos","events_url":"https://api.github.com/users/DeloitteDigitalUK/events{/privacy}","received_events_url":"https://api.github.com/users/DeloitteDigitalUK/received_events","type":"Organization","site_admin":false},"repo":{"id":53738552,"name":"reveal.js","full_name":"DeloitteDigitalUK/reveal.js","owner":{"login":"DeloitteDigitalUK","id":10812267,"avatar_url":"https://avatars.githubusercontent.com/u/10812267?v=3","gravatar_id":"","url":"https://api.github.com/users/DeloitteDigitalUK","html_url":"https://github.com/DeloitteDigitalUK","followers_url":"https://api.github.com/users/DeloitteDigitalUK/followers","following_url":"https://api.github.com/users/DeloitteDigitalUK/following{/other_user}","gists_url":"https://api.github.com/users/DeloitteDigitalUK/gists{/gist_id}","starred_url":"https://api.github.com/users/DeloitteDigitalUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeloitteDigitalUK/subscriptions","organizations_url":"https://api.github.com/users/DeloitteDigitalUK/orgs","repos_url":"https://api.github.com/users/DeloitteDigitalUK/repos","events_url":"https://api.github.com/users/DeloitteDigitalUK/events{/privacy}","received_events_url":"https://api.github.com/users/DeloitteDigitalUK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DeloitteDigitalUK/reveal.js","description":"The HTML Presentation Framework","fork":true,"url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js","forks_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/forks","keys_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/teams","hooks_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/hooks","issue_events_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues/events{/number}","events_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/events","assignees_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/assignees{/user}","branches_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/branches{/branch}","tags_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/tags","blobs_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/statuses/{sha}","languages_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/languages","stargazers_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/stargazers","contributors_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/contributors","subscribers_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/subscribers","subscription_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/subscription","commits_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/contents/{+path}","compare_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/merges","archive_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/downloads","issues_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues{/number}","pulls_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls{/number}","milestones_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/milestones{/number}","notifications_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/labels{/name}","releases_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/releases{/id}","deployments_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/deployments","created_at":"2016-03-12T15:29:14Z","updated_at":"2016-07-14T13:29:07Z","pushed_at":"2016-09-22T08:17:44Z","git_url":"git://github.com/DeloitteDigitalUK/reveal.js.git","ssh_url":"git@github.com:DeloitteDigitalUK/reveal.js.git","clone_url":"https://github.com/DeloitteDigitalUK/reveal.js.git","svn_url":"https://github.com/DeloitteDigitalUK/reveal.js","homepage":"http://lab.hakim.se/reveal-js/","size":11937,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":5,"default_branch":"master"}},"base":{"label":"DeloitteDigitalUK:master","ref":"master","sha":"32656edc317662dd7b4abac59b3a89f840b05787","user":{"login":"DeloitteDigitalUK","id":10812267,"avatar_url":"https://avatars.githubusercontent.com/u/10812267?v=3","gravatar_id":"","url":"https://api.github.com/users/DeloitteDigitalUK","html_url":"https://github.com/DeloitteDigitalUK","followers_url":"https://api.github.com/users/DeloitteDigitalUK/followers","following_url":"https://api.github.com/users/DeloitteDigitalUK/following{/other_user}","gists_url":"https://api.github.com/users/DeloitteDigitalUK/gists{/gist_id}","starred_url":"https://api.github.com/users/DeloitteDigitalUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeloitteDigitalUK/subscriptions","organizations_url":"https://api.github.com/users/DeloitteDigitalUK/orgs","repos_url":"https://api.github.com/users/DeloitteDigitalUK/repos","events_url":"https://api.github.com/users/DeloitteDigitalUK/events{/privacy}","received_events_url":"https://api.github.com/users/DeloitteDigitalUK/received_events","type":"Organization","site_admin":false},"repo":{"id":53738552,"name":"reveal.js","full_name":"DeloitteDigitalUK/reveal.js","owner":{"login":"DeloitteDigitalUK","id":10812267,"avatar_url":"https://avatars.githubusercontent.com/u/10812267?v=3","gravatar_id":"","url":"https://api.github.com/users/DeloitteDigitalUK","html_url":"https://github.com/DeloitteDigitalUK","followers_url":"https://api.github.com/users/DeloitteDigitalUK/followers","following_url":"https://api.github.com/users/DeloitteDigitalUK/following{/other_user}","gists_url":"https://api.github.com/users/DeloitteDigitalUK/gists{/gist_id}","starred_url":"https://api.github.com/users/DeloitteDigitalUK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DeloitteDigitalUK/subscriptions","organizations_url":"https://api.github.com/users/DeloitteDigitalUK/orgs","repos_url":"https://api.github.com/users/DeloitteDigitalUK/repos","events_url":"https://api.github.com/users/DeloitteDigitalUK/events{/privacy}","received_events_url":"https://api.github.com/users/DeloitteDigitalUK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DeloitteDigitalUK/reveal.js","description":"The HTML Presentation Framework","fork":true,"url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js","forks_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/forks","keys_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/teams","hooks_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/hooks","issue_events_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues/events{/number}","events_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/events","assignees_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/assignees{/user}","branches_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/branches{/branch}","tags_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/tags","blobs_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/statuses/{sha}","languages_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/languages","stargazers_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/stargazers","contributors_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/contributors","subscribers_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/subscribers","subscription_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/subscription","commits_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/contents/{+path}","compare_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/merges","archive_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/downloads","issues_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues{/number}","pulls_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls{/number}","milestones_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/milestones{/number}","notifications_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/labels{/name}","releases_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/releases{/id}","deployments_url":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/deployments","created_at":"2016-03-12T15:29:14Z","updated_at":"2016-07-14T13:29:07Z","pushed_at":"2016-09-22T08:17:44Z","git_url":"git://github.com/DeloitteDigitalUK/reveal.js.git","ssh_url":"git@github.com:DeloitteDigitalUK/reveal.js.git","clone_url":"https://github.com/DeloitteDigitalUK/reveal.js.git","svn_url":"https://github.com/DeloitteDigitalUK/reveal.js","homepage":"http://lab.hakim.se/reveal-js/","size":11937,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":1,"forks":3,"open_issues":1,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/3"},"html":{"href":"https://github.com/DeloitteDigitalUK/reveal.js/pull/3"},"issue":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues/3"},"comments":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/DeloitteDigitalUK/reveal.js/statuses/677ec204dffccdedc77987460909349f568b3130"}}}}
{"actor":{"display_login":"michael-martin"}}