{"action":"created","comment":{"url":"https://api.github.com/repos/kaaproject/jekver/pulls/comments/170934997","pull_request_review_id":99698490,"id":170934997,"diff_hunk":"@@ -0,0 +1,43 @@\n+\"use strict\";\n+\n+var snipArr, arrl, visibleArr, wholeArr;\n+snipArr = document.getElementsByTagName(\"CODE\");\n+arrl = snipArr.length;\n+visibleArr = [];\n+wholeArr = [];\n+cutAll();\n+\n+function cutAll() {\n+  var i, delim;\n+  for (i=0; i<arrl; i++) {\n+    delim = snipArr[i].innerHTML.indexOf(\"&gt;&gt;&gt;showmore\");\n+    wholeArr[i] = snipArr[i].innerHTML;\n+    if (delim === -1) {continue;}\n+    visibleArr[i] = snipArr[i].innerHTML.slice(0,delim);\n+    snipArr[i].parentElement.innerHTML += \"<button class='collapse_control more collapsed' id='showmoreId\" + i + \"' onclick='showMore()'>Show more</button>\";\n+    snipArr[i].innerHTML = visibleArr[i];\n+  }\n+}\n+\n+function showMore() {\n+  var x, y, z, start, end, whole, parentPre;\n+  parentPre = event.target.parentElement;\n+  x = event.target.id.slice(10);\n+  y = wholeArr[x].indexOf(\"&gt;&gt;&gt;showmore\");\n+  start = wholeArr[x].slice(0,y);\n+  z = y + 21;","path":"gh-pages-stub/public/js/snippets.js","position":null,"original_position":28,"commit_id":"e6cdb7f570507db00ca55f429ff15bfff31e72da","original_commit_id":"4a3094d150c2167d1d0f4feac8ada6531159caea","user":{"login":"hunch7","id":15980649,"avatar_url":"https://avatars2.githubusercontent.com/u/15980649?v=4","gravatar_id":"","url":"https://api.github.com/users/hunch7","html_url":"https://github.com/hunch7","followers_url":"https://api.github.com/users/hunch7/followers","following_url":"https://api.github.com/users/hunch7/following{/other_user}","gists_url":"https://api.github.com/users/hunch7/gists{/gist_id}","starred_url":"https://api.github.com/users/hunch7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunch7/subscriptions","organizations_url":"https://api.github.com/users/hunch7/orgs","repos_url":"https://api.github.com/users/hunch7/repos","events_url":"https://api.github.com/users/hunch7/events{/privacy}","received_events_url":"https://api.github.com/users/hunch7/received_events","type":"User","site_admin":false},"body":"Lolz, 21 is the delimiter length. Fixed.","created_at":"2018-02-27T14:16:51Z","updated_at":"2018-02-27T14:16:51Z","html_url":"https://github.com/kaaproject/jekver/pull/28#discussion_r170934997","pull_request_url":"https://api.github.com/repos/kaaproject/jekver/pulls/28","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kaaproject/jekver/pulls/comments/170934997"},"html":{"href":"https://github.com/kaaproject/jekver/pull/28#discussion_r170934997"},"pull_request":{"href":"https://api.github.com/repos/kaaproject/jekver/pulls/28"}},"in_reply_to_id":170576824},"pull_request":{"url":"https://api.github.com/repos/kaaproject/jekver/pulls/28","id":171033471,"html_url":"https://github.com/kaaproject/jekver/pull/28","diff_url":"https://github.com/kaaproject/jekver/pull/28.diff","patch_url":"https://github.com/kaaproject/jekver/pull/28.patch","issue_url":"https://api.github.com/repos/kaaproject/jekver/issues/28","number":28,"state":"open","locked":false,"title":"JEK-40: optional 'Show more'","user":{"login":"hunch7","id":15980649,"avatar_url":"https://avatars2.githubusercontent.com/u/15980649?v=4","gravatar_id":"","url":"https://api.github.com/users/hunch7","html_url":"https://github.com/hunch7","followers_url":"https://api.github.com/users/hunch7/followers","following_url":"https://api.github.com/users/hunch7/following{/other_user}","gists_url":"https://api.github.com/users/hunch7/gists{/gist_id}","starred_url":"https://api.github.com/users/hunch7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunch7/subscriptions","organizations_url":"https://api.github.com/users/hunch7/orgs","repos_url":"https://api.github.com/users/hunch7/repos","events_url":"https://api.github.com/users/hunch7/events{/privacy}","received_events_url":"https://api.github.com/users/hunch7/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-02-23T14:52:06Z","updated_at":"2018-02-27T14:16:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c617fce74c555a4c0299c1236bec4675dd8a751b","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kaaproject/jekver/pulls/28/commits","review_comments_url":"https://api.github.com/repos/kaaproject/jekver/pulls/28/comments","review_comment_url":"https://api.github.com/repos/kaaproject/jekver/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kaaproject/jekver/issues/28/comments","statuses_url":"https://api.github.com/repos/kaaproject/jekver/statuses/e6cdb7f570507db00ca55f429ff15bfff31e72da","head":{"label":"hunch7:JEK-40","ref":"JEK-40","sha":"e6cdb7f570507db00ca55f429ff15bfff31e72da","user":{"login":"hunch7","id":15980649,"avatar_url":"https://avatars2.githubusercontent.com/u/15980649?v=4","gravatar_id":"","url":"https://api.github.com/users/hunch7","html_url":"https://github.com/hunch7","followers_url":"https://api.github.com/users/hunch7/followers","following_url":"https://api.github.com/users/hunch7/following{/other_user}","gists_url":"https://api.github.com/users/hunch7/gists{/gist_id}","starred_url":"https://api.github.com/users/hunch7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunch7/subscriptions","organizations_url":"https://api.github.com/users/hunch7/orgs","repos_url":"https://api.github.com/users/hunch7/repos","events_url":"https://api.github.com/users/hunch7/events{/privacy}","received_events_url":"https://api.github.com/users/hunch7/received_events","type":"User","site_admin":false},"repo":{"id":115125809,"name":"jekver","full_name":"hunch7/jekver","owner":{"login":"hunch7","id":15980649,"avatar_url":"https://avatars2.githubusercontent.com/u/15980649?v=4","gravatar_id":"","url":"https://api.github.com/users/hunch7","html_url":"https://github.com/hunch7","followers_url":"https://api.github.com/users/hunch7/followers","following_url":"https://api.github.com/users/hunch7/following{/other_user}","gists_url":"https://api.github.com/users/hunch7/gists{/gist_id}","starred_url":"https://api.github.com/users/hunch7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hunch7/subscriptions","organizations_url":"https://api.github.com/users/hunch7/orgs","repos_url":"https://api.github.com/users/hunch7/repos","events_url":"https://api.github.com/users/hunch7/events{/privacy}","received_events_url":"https://api.github.com/users/hunch7/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/hunch7/jekver","description":null,"fork":true,"url":"https://api.github.com/repos/hunch7/jekver","forks_url":"https://api.github.com/repos/hunch7/jekver/forks","keys_url":"https://api.github.com/repos/hunch7/jekver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hunch7/jekver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hunch7/jekver/teams","hooks_url":"https://api.github.com/repos/hunch7/jekver/hooks","issue_events_url":"https://api.github.com/repos/hunch7/jekver/issues/events{/number}","events_url":"https://api.github.com/repos/hunch7/jekver/events","assignees_url":"https://api.github.com/repos/hunch7/jekver/assignees{/user}","branches_url":"https://api.github.com/repos/hunch7/jekver/branches{/branch}","tags_url":"https://api.github.com/repos/hunch7/jekver/tags","blobs_url":"https://api.github.com/repos/hunch7/jekver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hunch7/jekver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hunch7/jekver/git/refs{/sha}","trees_url":"https://api.github.com/repos/hunch7/jekver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hunch7/jekver/statuses/{sha}","languages_url":"https://api.github.com/repos/hunch7/jekver/languages","stargazers_url":"https://api.github.com/repos/hunch7/jekver/stargazers","contributors_url":"https://api.github.com/repos/hunch7/jekver/contributors","subscribers_url":"https://api.github.com/repos/hunch7/jekver/subscribers","subscription_url":"https://api.github.com/repos/hunch7/jekver/subscription","commits_url":"https://api.github.com/repos/hunch7/jekver/commits{/sha}","git_commits_url":"https://api.github.com/repos/hunch7/jekver/git/commits{/sha}","comments_url":"https://api.github.com/repos/hunch7/jekver/comments{/number}","issue_comment_url":"https://api.github.com/repos/hunch7/jekver/issues/comments{/number}","contents_url":"https://api.github.com/repos/hunch7/jekver/contents/{+path}","compare_url":"https://api.github.com/repos/hunch7/jekver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hunch7/jekver/merges","archive_url":"https://api.github.com/repos/hunch7/jekver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hunch7/jekver/downloads","issues_url":"https://api.github.com/repos/hunch7/jekver/issues{/number}","pulls_url":"https://api.github.com/repos/hunch7/jekver/pulls{/number}","milestones_url":"https://api.github.com/repos/hunch7/jekver/milestones{/number}","notifications_url":"https://api.github.com/repos/hunch7/jekver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hunch7/jekver/labels{/name}","releases_url":"https://api.github.com/repos/hunch7/jekver/releases{/id}","deployments_url":"https://api.github.com/repos/hunch7/jekver/deployments","created_at":"2017-12-22T15:08:43Z","updated_at":"2017-12-22T15:08:44Z","pushed_at":"2018-02-27T14:08:13Z","git_url":"git://github.com/hunch7/jekver.git","ssh_url":"git@github.com:hunch7/jekver.git","clone_url":"https://github.com/hunch7/jekver.git","svn_url":"https://github.com/hunch7/jekver","homepage":null,"size":360,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"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":"kaaproject:master","ref":"master","sha":"d05e2ae48580d0b8dfdce030405fab9c49d97192","user":{"login":"kaaproject","id":6984613,"avatar_url":"https://avatars3.githubusercontent.com/u/6984613?v=4","gravatar_id":"","url":"https://api.github.com/users/kaaproject","html_url":"https://github.com/kaaproject","followers_url":"https://api.github.com/users/kaaproject/followers","following_url":"https://api.github.com/users/kaaproject/following{/other_user}","gists_url":"https://api.github.com/users/kaaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaproject/subscriptions","organizations_url":"https://api.github.com/users/kaaproject/orgs","repos_url":"https://api.github.com/users/kaaproject/repos","events_url":"https://api.github.com/users/kaaproject/events{/privacy}","received_events_url":"https://api.github.com/users/kaaproject/received_events","type":"Organization","site_admin":false},"repo":{"id":77233766,"name":"jekver","full_name":"kaaproject/jekver","owner":{"login":"kaaproject","id":6984613,"avatar_url":"https://avatars3.githubusercontent.com/u/6984613?v=4","gravatar_id":"","url":"https://api.github.com/users/kaaproject","html_url":"https://github.com/kaaproject","followers_url":"https://api.github.com/users/kaaproject/followers","following_url":"https://api.github.com/users/kaaproject/following{/other_user}","gists_url":"https://api.github.com/users/kaaproject/gists{/gist_id}","starred_url":"https://api.github.com/users/kaaproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaaproject/subscriptions","organizations_url":"https://api.github.com/users/kaaproject/orgs","repos_url":"https://api.github.com/users/kaaproject/repos","events_url":"https://api.github.com/users/kaaproject/events{/privacy}","received_events_url":"https://api.github.com/users/kaaproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/kaaproject/jekver","description":null,"fork":false,"url":"https://api.github.com/repos/kaaproject/jekver","forks_url":"https://api.github.com/repos/kaaproject/jekver/forks","keys_url":"https://api.github.com/repos/kaaproject/jekver/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaaproject/jekver/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaaproject/jekver/teams","hooks_url":"https://api.github.com/repos/kaaproject/jekver/hooks","issue_events_url":"https://api.github.com/repos/kaaproject/jekver/issues/events{/number}","events_url":"https://api.github.com/repos/kaaproject/jekver/events","assignees_url":"https://api.github.com/repos/kaaproject/jekver/assignees{/user}","branches_url":"https://api.github.com/repos/kaaproject/jekver/branches{/branch}","tags_url":"https://api.github.com/repos/kaaproject/jekver/tags","blobs_url":"https://api.github.com/repos/kaaproject/jekver/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaaproject/jekver/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaaproject/jekver/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaaproject/jekver/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaaproject/jekver/statuses/{sha}","languages_url":"https://api.github.com/repos/kaaproject/jekver/languages","stargazers_url":"https://api.github.com/repos/kaaproject/jekver/stargazers","contributors_url":"https://api.github.com/repos/kaaproject/jekver/contributors","subscribers_url":"https://api.github.com/repos/kaaproject/jekver/subscribers","subscription_url":"https://api.github.com/repos/kaaproject/jekver/subscription","commits_url":"https://api.github.com/repos/kaaproject/jekver/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaaproject/jekver/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaaproject/jekver/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaaproject/jekver/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaaproject/jekver/contents/{+path}","compare_url":"https://api.github.com/repos/kaaproject/jekver/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaaproject/jekver/merges","archive_url":"https://api.github.com/repos/kaaproject/jekver/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaaproject/jekver/downloads","issues_url":"https://api.github.com/repos/kaaproject/jekver/issues{/number}","pulls_url":"https://api.github.com/repos/kaaproject/jekver/pulls{/number}","milestones_url":"https://api.github.com/repos/kaaproject/jekver/milestones{/number}","notifications_url":"https://api.github.com/repos/kaaproject/jekver/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaaproject/jekver/labels{/name}","releases_url":"https://api.github.com/repos/kaaproject/jekver/releases{/id}","deployments_url":"https://api.github.com/repos/kaaproject/jekver/deployments","created_at":"2016-12-23T15:25:43Z","updated_at":"2017-11-15T13:16:04Z","pushed_at":"2018-02-27T14:08:14Z","git_url":"git://github.com/kaaproject/jekver.git","ssh_url":"git@github.com:kaaproject/jekver.git","clone_url":"https://github.com/kaaproject/jekver.git","svn_url":"https://github.com/kaaproject/jekver","homepage":null,"size":350,"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":8,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":8,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kaaproject/jekver/pulls/28"},"html":{"href":"https://github.com/kaaproject/jekver/pull/28"},"issue":{"href":"https://api.github.com/repos/kaaproject/jekver/issues/28"},"comments":{"href":"https://api.github.com/repos/kaaproject/jekver/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/kaaproject/jekver/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/kaaproject/jekver/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kaaproject/jekver/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/kaaproject/jekver/statuses/e6cdb7f570507db00ca55f429ff15bfff31e72da"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"hunch7"}}