{"action":"created","comment":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/42076284","id":42076284,"diff_hunk":"@@ -119,6 +119,11 @@ ImageAnnotationGrid.prototype.add_to_grid = function(extracted_coords) {\n ImageAnnotationGrid.prototype.remove_annotation = function(unused_param1, unused_param2, annotation_text_id) {\n   if (this.getAnnotationTextManager().annotationTextExists(annotation_text_id)) {\n     this.getAnnotationTextManager().removeAnnotationText(annotation_text_id);\n+    var holder = document.getElementById('annotation_holder_' + annotation_text_id);\n+    if (holder != null) \n+    {","path":"app/assets/javascripts/SourceCodeGlower/ImageAnnotationGrid.js","position":6,"original_position":6,"commit_id":"85eb881855cfd0ab3c9966a1adfd95dda18fbe43","original_commit_id":"85eb881855cfd0ab3c9966a1adfd95dda18fbe43","user":{"login":"david-yz-liu","id":3333115,"avatar_url":"https://avatars.githubusercontent.com/u/3333115?v=3","gravatar_id":"","url":"https://api.github.com/users/david-yz-liu","html_url":"https://github.com/david-yz-liu","followers_url":"https://api.github.com/users/david-yz-liu/followers","following_url":"https://api.github.com/users/david-yz-liu/following{/other_user}","gists_url":"https://api.github.com/users/david-yz-liu/gists{/gist_id}","starred_url":"https://api.github.com/users/david-yz-liu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/david-yz-liu/subscriptions","organizations_url":"https://api.github.com/users/david-yz-liu/orgs","repos_url":"https://api.github.com/users/david-yz-liu/repos","events_url":"https://api.github.com/users/david-yz-liu/events{/privacy}","received_events_url":"https://api.github.com/users/david-yz-liu/received_events","type":"User","site_admin":false},"body":"In general, put the opening brace on the previous line.","created_at":"2015-10-15T01:58:46Z","updated_at":"2015-10-15T01:58:46Z","html_url":"https://github.com/MarkUsProject/Markus/pull/2313#discussion_r42076284","pull_request_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2313","_links":{"self":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments/42076284"},"html":{"href":"https://github.com/MarkUsProject/Markus/pull/2313#discussion_r42076284"},"pull_request":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2313"}}},"pull_request":{"url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2313","id":47359579,"html_url":"https://github.com/MarkUsProject/Markus/pull/2313","diff_url":"https://github.com/MarkUsProject/Markus/pull/2313.diff","patch_url":"https://github.com/MarkUsProject/Markus/pull/2313.patch","issue_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2313","number":2313,"state":"open","locked":false,"title":"close #2042","user":{"login":"wkwan","id":2907892,"avatar_url":"https://avatars.githubusercontent.com/u/2907892?v=3","gravatar_id":"","url":"https://api.github.com/users/wkwan","html_url":"https://github.com/wkwan","followers_url":"https://api.github.com/users/wkwan/followers","following_url":"https://api.github.com/users/wkwan/following{/other_user}","gists_url":"https://api.github.com/users/wkwan/gists{/gist_id}","starred_url":"https://api.github.com/users/wkwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkwan/subscriptions","organizations_url":"https://api.github.com/users/wkwan/orgs","repos_url":"https://api.github.com/users/wkwan/repos","events_url":"https://api.github.com/users/wkwan/events{/privacy}","received_events_url":"https://api.github.com/users/wkwan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-11T03:59:39Z","updated_at":"2015-10-15T01:58:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37fe5ee6e40f781643701473a9e93d04bb060a67","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2313/commits","review_comments_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2313/comments","review_comment_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/2313/comments","statuses_url":"https://api.github.com/repos/MarkUsProject/Markus/statuses/85eb881855cfd0ab3c9966a1adfd95dda18fbe43","head":{"label":"wkwan:issue-2042","ref":"issue-2042","sha":"85eb881855cfd0ab3c9966a1adfd95dda18fbe43","user":{"login":"wkwan","id":2907892,"avatar_url":"https://avatars.githubusercontent.com/u/2907892?v=3","gravatar_id":"","url":"https://api.github.com/users/wkwan","html_url":"https://github.com/wkwan","followers_url":"https://api.github.com/users/wkwan/followers","following_url":"https://api.github.com/users/wkwan/following{/other_user}","gists_url":"https://api.github.com/users/wkwan/gists{/gist_id}","starred_url":"https://api.github.com/users/wkwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkwan/subscriptions","organizations_url":"https://api.github.com/users/wkwan/orgs","repos_url":"https://api.github.com/users/wkwan/repos","events_url":"https://api.github.com/users/wkwan/events{/privacy}","received_events_url":"https://api.github.com/users/wkwan/received_events","type":"User","site_admin":false},"repo":{"id":42268223,"name":"Markus","full_name":"wkwan/Markus","owner":{"login":"wkwan","id":2907892,"avatar_url":"https://avatars.githubusercontent.com/u/2907892?v=3","gravatar_id":"","url":"https://api.github.com/users/wkwan","html_url":"https://github.com/wkwan","followers_url":"https://api.github.com/users/wkwan/followers","following_url":"https://api.github.com/users/wkwan/following{/other_user}","gists_url":"https://api.github.com/users/wkwan/gists{/gist_id}","starred_url":"https://api.github.com/users/wkwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wkwan/subscriptions","organizations_url":"https://api.github.com/users/wkwan/orgs","repos_url":"https://api.github.com/users/wkwan/repos","events_url":"https://api.github.com/users/wkwan/events{/privacy}","received_events_url":"https://api.github.com/users/wkwan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wkwan/Markus","description":"Git repository of MarkUs","fork":true,"url":"https://api.github.com/repos/wkwan/Markus","forks_url":"https://api.github.com/repos/wkwan/Markus/forks","keys_url":"https://api.github.com/repos/wkwan/Markus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wkwan/Markus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wkwan/Markus/teams","hooks_url":"https://api.github.com/repos/wkwan/Markus/hooks","issue_events_url":"https://api.github.com/repos/wkwan/Markus/issues/events{/number}","events_url":"https://api.github.com/repos/wkwan/Markus/events","assignees_url":"https://api.github.com/repos/wkwan/Markus/assignees{/user}","branches_url":"https://api.github.com/repos/wkwan/Markus/branches{/branch}","tags_url":"https://api.github.com/repos/wkwan/Markus/tags","blobs_url":"https://api.github.com/repos/wkwan/Markus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wkwan/Markus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wkwan/Markus/git/refs{/sha}","trees_url":"https://api.github.com/repos/wkwan/Markus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wkwan/Markus/statuses/{sha}","languages_url":"https://api.github.com/repos/wkwan/Markus/languages","stargazers_url":"https://api.github.com/repos/wkwan/Markus/stargazers","contributors_url":"https://api.github.com/repos/wkwan/Markus/contributors","subscribers_url":"https://api.github.com/repos/wkwan/Markus/subscribers","subscription_url":"https://api.github.com/repos/wkwan/Markus/subscription","commits_url":"https://api.github.com/repos/wkwan/Markus/commits{/sha}","git_commits_url":"https://api.github.com/repos/wkwan/Markus/git/commits{/sha}","comments_url":"https://api.github.com/repos/wkwan/Markus/comments{/number}","issue_comment_url":"https://api.github.com/repos/wkwan/Markus/issues/comments{/number}","contents_url":"https://api.github.com/repos/wkwan/Markus/contents/{+path}","compare_url":"https://api.github.com/repos/wkwan/Markus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wkwan/Markus/merges","archive_url":"https://api.github.com/repos/wkwan/Markus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wkwan/Markus/downloads","issues_url":"https://api.github.com/repos/wkwan/Markus/issues{/number}","pulls_url":"https://api.github.com/repos/wkwan/Markus/pulls{/number}","milestones_url":"https://api.github.com/repos/wkwan/Markus/milestones{/number}","notifications_url":"https://api.github.com/repos/wkwan/Markus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wkwan/Markus/labels{/name}","releases_url":"https://api.github.com/repos/wkwan/Markus/releases{/id}","created_at":"2015-09-10T20:12:01Z","updated_at":"2015-09-10T20:12:04Z","pushed_at":"2015-10-11T05:50:32Z","git_url":"git://github.com/wkwan/Markus.git","ssh_url":"git@github.com:wkwan/Markus.git","clone_url":"https://github.com/wkwan/Markus.git","svn_url":"https://github.com/wkwan/Markus","homepage":"http://www.markusproject.org","size":23617,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"MarkUsProject:master","ref":"master","sha":"319b18393f0157f0c1f9cb115fd77fd464c18b45","user":{"login":"MarkUsProject","id":415874,"avatar_url":"https://avatars.githubusercontent.com/u/415874?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkUsProject","html_url":"https://github.com/MarkUsProject","followers_url":"https://api.github.com/users/MarkUsProject/followers","following_url":"https://api.github.com/users/MarkUsProject/following{/other_user}","gists_url":"https://api.github.com/users/MarkUsProject/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkUsProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkUsProject/subscriptions","organizations_url":"https://api.github.com/users/MarkUsProject/orgs","repos_url":"https://api.github.com/users/MarkUsProject/repos","events_url":"https://api.github.com/users/MarkUsProject/events{/privacy}","received_events_url":"https://api.github.com/users/MarkUsProject/received_events","type":"Organization","site_admin":false},"repo":{"id":940538,"name":"Markus","full_name":"MarkUsProject/Markus","owner":{"login":"MarkUsProject","id":415874,"avatar_url":"https://avatars.githubusercontent.com/u/415874?v=3","gravatar_id":"","url":"https://api.github.com/users/MarkUsProject","html_url":"https://github.com/MarkUsProject","followers_url":"https://api.github.com/users/MarkUsProject/followers","following_url":"https://api.github.com/users/MarkUsProject/following{/other_user}","gists_url":"https://api.github.com/users/MarkUsProject/gists{/gist_id}","starred_url":"https://api.github.com/users/MarkUsProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MarkUsProject/subscriptions","organizations_url":"https://api.github.com/users/MarkUsProject/orgs","repos_url":"https://api.github.com/users/MarkUsProject/repos","events_url":"https://api.github.com/users/MarkUsProject/events{/privacy}","received_events_url":"https://api.github.com/users/MarkUsProject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MarkUsProject/Markus","description":"Git repository of MarkUs","fork":false,"url":"https://api.github.com/repos/MarkUsProject/Markus","forks_url":"https://api.github.com/repos/MarkUsProject/Markus/forks","keys_url":"https://api.github.com/repos/MarkUsProject/Markus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MarkUsProject/Markus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MarkUsProject/Markus/teams","hooks_url":"https://api.github.com/repos/MarkUsProject/Markus/hooks","issue_events_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/events{/number}","events_url":"https://api.github.com/repos/MarkUsProject/Markus/events","assignees_url":"https://api.github.com/repos/MarkUsProject/Markus/assignees{/user}","branches_url":"https://api.github.com/repos/MarkUsProject/Markus/branches{/branch}","tags_url":"https://api.github.com/repos/MarkUsProject/Markus/tags","blobs_url":"https://api.github.com/repos/MarkUsProject/Markus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MarkUsProject/Markus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MarkUsProject/Markus/git/refs{/sha}","trees_url":"https://api.github.com/repos/MarkUsProject/Markus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MarkUsProject/Markus/statuses/{sha}","languages_url":"https://api.github.com/repos/MarkUsProject/Markus/languages","stargazers_url":"https://api.github.com/repos/MarkUsProject/Markus/stargazers","contributors_url":"https://api.github.com/repos/MarkUsProject/Markus/contributors","subscribers_url":"https://api.github.com/repos/MarkUsProject/Markus/subscribers","subscription_url":"https://api.github.com/repos/MarkUsProject/Markus/subscription","commits_url":"https://api.github.com/repos/MarkUsProject/Markus/commits{/sha}","git_commits_url":"https://api.github.com/repos/MarkUsProject/Markus/git/commits{/sha}","comments_url":"https://api.github.com/repos/MarkUsProject/Markus/comments{/number}","issue_comment_url":"https://api.github.com/repos/MarkUsProject/Markus/issues/comments{/number}","contents_url":"https://api.github.com/repos/MarkUsProject/Markus/contents/{+path}","compare_url":"https://api.github.com/repos/MarkUsProject/Markus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MarkUsProject/Markus/merges","archive_url":"https://api.github.com/repos/MarkUsProject/Markus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MarkUsProject/Markus/downloads","issues_url":"https://api.github.com/repos/MarkUsProject/Markus/issues{/number}","pulls_url":"https://api.github.com/repos/MarkUsProject/Markus/pulls{/number}","milestones_url":"https://api.github.com/repos/MarkUsProject/Markus/milestones{/number}","notifications_url":"https://api.github.com/repos/MarkUsProject/Markus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MarkUsProject/Markus/labels{/name}","releases_url":"https://api.github.com/repos/MarkUsProject/Markus/releases{/id}","created_at":"2010-09-26T16:18:08Z","updated_at":"2015-09-30T18:44:23Z","pushed_at":"2015-10-15T01:34:13Z","git_url":"git://github.com/MarkUsProject/Markus.git","ssh_url":"git@github.com:MarkUsProject/Markus.git","clone_url":"https://github.com/MarkUsProject/Markus.git","svn_url":"https://github.com/MarkUsProject/Markus","homepage":"http://www.markusproject.org","size":49585,"stargazers_count":129,"watchers_count":129,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":160,"mirror_url":null,"open_issues_count":102,"forks":160,"open_issues":102,"watchers":129,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2313"},"html":{"href":"https://github.com/MarkUsProject/Markus/pull/2313"},"issue":{"href":"https://api.github.com/repos/MarkUsProject/Markus/issues/2313"},"comments":{"href":"https://api.github.com/repos/MarkUsProject/Markus/issues/2313/comments"},"review_comments":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2313/comments"},"review_comment":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MarkUsProject/Markus/pulls/2313/commits"},"statuses":{"href":"https://api.github.com/repos/MarkUsProject/Markus/statuses/85eb881855cfd0ab3c9966a1adfd95dda18fbe43"}}}}