{"action":"created","comment":{"url":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/comments/49278848","id":49278848,"diff_hunk":"@@ -80,21 +93,8 @@\n \n     file.blocks.forEach(function(block) {\n \n-      fileHtml.left += '<tr>\\n' +\n-        '  <td class=\"d2h-code-side-linenumber ' + diffParser.LINE_TYPE.INFO + '\"></td>\\n' +\n-        '  <td class=\"' + diffParser.LINE_TYPE.INFO + '\">' +\n-        '    <div class=\"d2h-code-side-line ' + diffParser.LINE_TYPE.INFO + '\">' +\n-        '      ' + utils.escape(block.header) +\n-        '    </div>' +\n-        '  </td>\\n' +\n-        '</tr>\\n';\n-\n-      fileHtml.right += '<tr>\\n' +\n-        '  <td class=\"d2h-code-side-linenumber ' + diffParser.LINE_TYPE.INFO + '\"></td>\\n' +\n-        '  <td class=\"' + diffParser.LINE_TYPE.INFO + '\">' +\n-        '    <div class=\"d2h-code-side-line ' + diffParser.LINE_TYPE.INFO + '\"></div>' +\n-        '  </td>\\n' +\n-        '</tr>\\n';\n+      fileHtml.left += that.makeSideHtml(utils.escape(block.header));","path":"src/side-by-side-printer.js","position":116,"original_position":116,"commit_id":"2cdb67d938c8ded6200ec77dfb07204c81904de5","original_commit_id":"2cdb67d938c8ded6200ec77dfb07204c81904de5","user":{"login":"pbu88","id":3682272,"avatar_url":"https://avatars.githubusercontent.com/u/3682272?v=3","gravatar_id":"","url":"https://api.github.com/users/pbu88","html_url":"https://github.com/pbu88","followers_url":"https://api.github.com/users/pbu88/followers","following_url":"https://api.github.com/users/pbu88/following{/other_user}","gists_url":"https://api.github.com/users/pbu88/gists{/gist_id}","starred_url":"https://api.github.com/users/pbu88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbu88/subscriptions","organizations_url":"https://api.github.com/users/pbu88/orgs","repos_url":"https://api.github.com/users/pbu88/repos","events_url":"https://api.github.com/users/pbu88/events{/privacy}","received_events_url":"https://api.github.com/users/pbu88/received_events","type":"User","site_admin":false},"body":"Done, I ended up not having to include the white spaces because all of this goes into one line, so no need for indent (line 83).","created_at":"2016-01-10T17:42:02Z","updated_at":"2016-01-10T17:42:02Z","html_url":"https://github.com/rtfpessoa/diff2html/pull/48#discussion_r49278848","pull_request_url":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/comments/49278848"},"html":{"href":"https://github.com/rtfpessoa/diff2html/pull/48#discussion_r49278848"},"pull_request":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/48","id":54966320,"html_url":"https://github.com/rtfpessoa/diff2html/pull/48","diff_url":"https://github.com/rtfpessoa/diff2html/pull/48.diff","patch_url":"https://github.com/rtfpessoa/diff2html/pull/48.patch","issue_url":"https://api.github.com/repos/rtfpessoa/diff2html/issues/48","number":48,"state":"open","locked":false,"title":"Refactors html code into methods for SideBySidePrinter","user":{"login":"pbu88","id":3682272,"avatar_url":"https://avatars.githubusercontent.com/u/3682272?v=3","gravatar_id":"","url":"https://api.github.com/users/pbu88","html_url":"https://github.com/pbu88","followers_url":"https://api.github.com/users/pbu88/followers","following_url":"https://api.github.com/users/pbu88/following{/other_user}","gists_url":"https://api.github.com/users/pbu88/gists{/gist_id}","starred_url":"https://api.github.com/users/pbu88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbu88/subscriptions","organizations_url":"https://api.github.com/users/pbu88/orgs","repos_url":"https://api.github.com/users/pbu88/repos","events_url":"https://api.github.com/users/pbu88/events{/privacy}","received_events_url":"https://api.github.com/users/pbu88/received_events","type":"User","site_admin":false},"body":"Same action but for SideBySide this time","created_at":"2016-01-04T11:35:42Z","updated_at":"2016-01-10T17:42:02Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67e1421935469aa653f60ec355c3ea7382a6d86c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/48/commits","review_comments_url":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/48/comments","review_comment_url":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rtfpessoa/diff2html/issues/48/comments","statuses_url":"https://api.github.com/repos/rtfpessoa/diff2html/statuses/2cdb67d938c8ded6200ec77dfb07204c81904de5","head":{"label":"pbu88:refactors_html_code_into_methods","ref":"refactors_html_code_into_methods","sha":"2cdb67d938c8ded6200ec77dfb07204c81904de5","user":{"login":"pbu88","id":3682272,"avatar_url":"https://avatars.githubusercontent.com/u/3682272?v=3","gravatar_id":"","url":"https://api.github.com/users/pbu88","html_url":"https://github.com/pbu88","followers_url":"https://api.github.com/users/pbu88/followers","following_url":"https://api.github.com/users/pbu88/following{/other_user}","gists_url":"https://api.github.com/users/pbu88/gists{/gist_id}","starred_url":"https://api.github.com/users/pbu88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbu88/subscriptions","organizations_url":"https://api.github.com/users/pbu88/orgs","repos_url":"https://api.github.com/users/pbu88/repos","events_url":"https://api.github.com/users/pbu88/events{/privacy}","received_events_url":"https://api.github.com/users/pbu88/received_events","type":"User","site_admin":false},"repo":{"id":43706029,"name":"diff2html","full_name":"pbu88/diff2html","owner":{"login":"pbu88","id":3682272,"avatar_url":"https://avatars.githubusercontent.com/u/3682272?v=3","gravatar_id":"","url":"https://api.github.com/users/pbu88","html_url":"https://github.com/pbu88","followers_url":"https://api.github.com/users/pbu88/followers","following_url":"https://api.github.com/users/pbu88/following{/other_user}","gists_url":"https://api.github.com/users/pbu88/gists{/gist_id}","starred_url":"https://api.github.com/users/pbu88/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pbu88/subscriptions","organizations_url":"https://api.github.com/users/pbu88/orgs","repos_url":"https://api.github.com/users/pbu88/repos","events_url":"https://api.github.com/users/pbu88/events{/privacy}","received_events_url":"https://api.github.com/users/pbu88/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pbu88/diff2html","description":"Pretty diff to html javascript library (diff2html)","fork":true,"url":"https://api.github.com/repos/pbu88/diff2html","forks_url":"https://api.github.com/repos/pbu88/diff2html/forks","keys_url":"https://api.github.com/repos/pbu88/diff2html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pbu88/diff2html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pbu88/diff2html/teams","hooks_url":"https://api.github.com/repos/pbu88/diff2html/hooks","issue_events_url":"https://api.github.com/repos/pbu88/diff2html/issues/events{/number}","events_url":"https://api.github.com/repos/pbu88/diff2html/events","assignees_url":"https://api.github.com/repos/pbu88/diff2html/assignees{/user}","branches_url":"https://api.github.com/repos/pbu88/diff2html/branches{/branch}","tags_url":"https://api.github.com/repos/pbu88/diff2html/tags","blobs_url":"https://api.github.com/repos/pbu88/diff2html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pbu88/diff2html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pbu88/diff2html/git/refs{/sha}","trees_url":"https://api.github.com/repos/pbu88/diff2html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pbu88/diff2html/statuses/{sha}","languages_url":"https://api.github.com/repos/pbu88/diff2html/languages","stargazers_url":"https://api.github.com/repos/pbu88/diff2html/stargazers","contributors_url":"https://api.github.com/repos/pbu88/diff2html/contributors","subscribers_url":"https://api.github.com/repos/pbu88/diff2html/subscribers","subscription_url":"https://api.github.com/repos/pbu88/diff2html/subscription","commits_url":"https://api.github.com/repos/pbu88/diff2html/commits{/sha}","git_commits_url":"https://api.github.com/repos/pbu88/diff2html/git/commits{/sha}","comments_url":"https://api.github.com/repos/pbu88/diff2html/comments{/number}","issue_comment_url":"https://api.github.com/repos/pbu88/diff2html/issues/comments{/number}","contents_url":"https://api.github.com/repos/pbu88/diff2html/contents/{+path}","compare_url":"https://api.github.com/repos/pbu88/diff2html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pbu88/diff2html/merges","archive_url":"https://api.github.com/repos/pbu88/diff2html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pbu88/diff2html/downloads","issues_url":"https://api.github.com/repos/pbu88/diff2html/issues{/number}","pulls_url":"https://api.github.com/repos/pbu88/diff2html/pulls{/number}","milestones_url":"https://api.github.com/repos/pbu88/diff2html/milestones{/number}","notifications_url":"https://api.github.com/repos/pbu88/diff2html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pbu88/diff2html/labels{/name}","releases_url":"https://api.github.com/repos/pbu88/diff2html/releases{/id}","created_at":"2015-10-05T18:46:02Z","updated_at":"2015-10-05T18:46:03Z","pushed_at":"2016-01-10T17:34:23Z","git_url":"git://github.com/pbu88/diff2html.git","ssh_url":"git@github.com:pbu88/diff2html.git","clone_url":"https://github.com/pbu88/diff2html.git","svn_url":"https://github.com/pbu88/diff2html","homepage":"https://rtfpessoa.github.com/diff2html","size":324,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"rtfpessoa:master","ref":"master","sha":"8955020e9e8116cd8376219840a8090f009f5cd6","user":{"login":"rtfpessoa","id":902384,"avatar_url":"https://avatars.githubusercontent.com/u/902384?v=3","gravatar_id":"","url":"https://api.github.com/users/rtfpessoa","html_url":"https://github.com/rtfpessoa","followers_url":"https://api.github.com/users/rtfpessoa/followers","following_url":"https://api.github.com/users/rtfpessoa/following{/other_user}","gists_url":"https://api.github.com/users/rtfpessoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfpessoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfpessoa/subscriptions","organizations_url":"https://api.github.com/users/rtfpessoa/orgs","repos_url":"https://api.github.com/users/rtfpessoa/repos","events_url":"https://api.github.com/users/rtfpessoa/events{/privacy}","received_events_url":"https://api.github.com/users/rtfpessoa/received_events","type":"User","site_admin":false},"repo":{"id":23483401,"name":"diff2html","full_name":"rtfpessoa/diff2html","owner":{"login":"rtfpessoa","id":902384,"avatar_url":"https://avatars.githubusercontent.com/u/902384?v=3","gravatar_id":"","url":"https://api.github.com/users/rtfpessoa","html_url":"https://github.com/rtfpessoa","followers_url":"https://api.github.com/users/rtfpessoa/followers","following_url":"https://api.github.com/users/rtfpessoa/following{/other_user}","gists_url":"https://api.github.com/users/rtfpessoa/gists{/gist_id}","starred_url":"https://api.github.com/users/rtfpessoa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rtfpessoa/subscriptions","organizations_url":"https://api.github.com/users/rtfpessoa/orgs","repos_url":"https://api.github.com/users/rtfpessoa/repos","events_url":"https://api.github.com/users/rtfpessoa/events{/privacy}","received_events_url":"https://api.github.com/users/rtfpessoa/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rtfpessoa/diff2html","description":"Pretty diff to html javascript library (diff2html)","fork":false,"url":"https://api.github.com/repos/rtfpessoa/diff2html","forks_url":"https://api.github.com/repos/rtfpessoa/diff2html/forks","keys_url":"https://api.github.com/repos/rtfpessoa/diff2html/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rtfpessoa/diff2html/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rtfpessoa/diff2html/teams","hooks_url":"https://api.github.com/repos/rtfpessoa/diff2html/hooks","issue_events_url":"https://api.github.com/repos/rtfpessoa/diff2html/issues/events{/number}","events_url":"https://api.github.com/repos/rtfpessoa/diff2html/events","assignees_url":"https://api.github.com/repos/rtfpessoa/diff2html/assignees{/user}","branches_url":"https://api.github.com/repos/rtfpessoa/diff2html/branches{/branch}","tags_url":"https://api.github.com/repos/rtfpessoa/diff2html/tags","blobs_url":"https://api.github.com/repos/rtfpessoa/diff2html/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rtfpessoa/diff2html/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rtfpessoa/diff2html/git/refs{/sha}","trees_url":"https://api.github.com/repos/rtfpessoa/diff2html/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rtfpessoa/diff2html/statuses/{sha}","languages_url":"https://api.github.com/repos/rtfpessoa/diff2html/languages","stargazers_url":"https://api.github.com/repos/rtfpessoa/diff2html/stargazers","contributors_url":"https://api.github.com/repos/rtfpessoa/diff2html/contributors","subscribers_url":"https://api.github.com/repos/rtfpessoa/diff2html/subscribers","subscription_url":"https://api.github.com/repos/rtfpessoa/diff2html/subscription","commits_url":"https://api.github.com/repos/rtfpessoa/diff2html/commits{/sha}","git_commits_url":"https://api.github.com/repos/rtfpessoa/diff2html/git/commits{/sha}","comments_url":"https://api.github.com/repos/rtfpessoa/diff2html/comments{/number}","issue_comment_url":"https://api.github.com/repos/rtfpessoa/diff2html/issues/comments{/number}","contents_url":"https://api.github.com/repos/rtfpessoa/diff2html/contents/{+path}","compare_url":"https://api.github.com/repos/rtfpessoa/diff2html/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rtfpessoa/diff2html/merges","archive_url":"https://api.github.com/repos/rtfpessoa/diff2html/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rtfpessoa/diff2html/downloads","issues_url":"https://api.github.com/repos/rtfpessoa/diff2html/issues{/number}","pulls_url":"https://api.github.com/repos/rtfpessoa/diff2html/pulls{/number}","milestones_url":"https://api.github.com/repos/rtfpessoa/diff2html/milestones{/number}","notifications_url":"https://api.github.com/repos/rtfpessoa/diff2html/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rtfpessoa/diff2html/labels{/name}","releases_url":"https://api.github.com/repos/rtfpessoa/diff2html/releases{/id}","created_at":"2014-08-30T02:51:49Z","updated_at":"2016-01-08T01:23:17Z","pushed_at":"2016-01-10T17:34:23Z","git_url":"git://github.com/rtfpessoa/diff2html.git","ssh_url":"git@github.com:rtfpessoa/diff2html.git","clone_url":"https://github.com/rtfpessoa/diff2html.git","svn_url":"https://github.com/rtfpessoa/diff2html","homepage":"https://rtfpessoa.github.com/diff2html","size":841,"stargazers_count":75,"watchers_count":75,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":14,"mirror_url":null,"open_issues_count":6,"forks":14,"open_issues":6,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/48"},"html":{"href":"https://github.com/rtfpessoa/diff2html/pull/48"},"issue":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/issues/48"},"comments":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/rtfpessoa/diff2html/statuses/2cdb67d938c8ded6200ec77dfb07204c81904de5"}}}}