{"action":"created","comment":{"url":"https://api.github.com/repos/yegor256/netbout/pulls/comments/32078536","id":32078536,"diff_hunk":"@@ -69,31 +69,51 @@ $(document).ready(\n               dataType: 'xml',\n               method: 'GET',\n               success: function (data) {\n-                var appendix = '';\n+                var appendix = '', $data = $(data), messagesAsXML = $data.find('message'),\n+                    messages = $data.find('#messages');\n                 more = '';\n-                $(data).find('message').each(\n-                  function (idx, msg) {\n-                    var $msg = $(msg);\n-                    appendix += [\n-                      '<div class=\"message\" id=\"msg',\n-                      $msg.find('number').text(),\n-                      '\"><div class=\"left\"><img class=\"photo\" src=\"',\n-                      $msg.find('link[rel=\"photo\"]').attr('href'),\n-                      '\"/>',\n-                      '</div><div class=\"right\"><div class=\"meta\"><strong>',\n-                      escapeHTML($msg.find('author').text()),\n-                      '</strong> said ',\n-                      escapeHTML($msg.find('timeago').text()),\n-                      '</div><div class=\"text\">',\n-                      $msg.find('html').text(),\n-                      '</div></div></div>'\n-                    ].join('');\n-                    more = $msg.find('link[rel=\"more\"]').attr('href');\n-                  }\n-                );\n-                $tail.removeAttr('id');\n-                $tail.html(appendix + '<div id=\"tail\"/>');\n-                $box.attr('data-more', more);\n+                if (messagesAsXML) {\n+                  messagesAsXML.each(\n+                    function (idx, msg) {\n+                      var $msg = $(msg);\n+                      appendix += [\n+                        '<div class=\"message\" id=\"msg',\n+                        $msg.find('number').text(),\n+                        '\"><div class=\"left\"><img class=\"photo\" src=\"',\n+                        $msg.find('link[rel=\"photo\"]').attr('href'),\n+                        '\"/>',\n+                        '</div><div class=\"right\"><div class=\"meta\"><strong>',\n+                        escapeHTML($msg.find('author').text()),\n+                        '</strong> said ',\n+                        escapeHTML($msg.find('timeago').text()),\n+                        '</div><div class=\"text\">',\n+                        $msg.find('html').text(),\n+                        '</div></div></div>'\n+                      ].join('');\n+                      more = $msg.find('link[rel=\"more\"]').attr('href');\n+                    }\n+                  );\n+                  $tail.removeAttr('id');\n+                  $tail.html(appendix + '<div id=\"tail\"/>');\n+                  $box.attr('data-more', more);\n+                }\n+                if (messages) {\n+                  messages.find('.message').each(\n+                    function (idx, line) {\n+                      var temp = $('<div></div>'), $msg = $(line),","path":"netbout-web/src/main/js/bout.js","position":59,"original_position":59,"commit_id":"07c7c17eb86d3ddc514f390644ff4981da0ee756","original_commit_id":"07c7c17eb86d3ddc514f390644ff4981da0ee756","user":{"login":"pinaf","id":1054771,"avatar_url":"https://avatars.githubusercontent.com/u/1054771?v=3","gravatar_id":"","url":"https://api.github.com/users/pinaf","html_url":"https://github.com/pinaf","followers_url":"https://api.github.com/users/pinaf/followers","following_url":"https://api.github.com/users/pinaf/following{/other_user}","gists_url":"https://api.github.com/users/pinaf/gists{/gist_id}","starred_url":"https://api.github.com/users/pinaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pinaf/subscriptions","organizations_url":"https://api.github.com/users/pinaf/orgs","repos_url":"https://api.github.com/users/pinaf/repos","events_url":"https://api.github.com/users/pinaf/events{/privacy}","received_events_url":"https://api.github.com/users/pinaf/received_events","type":"User","site_admin":false},"body":"@erimerturk can't we inline `temp`?","created_at":"2015-06-10T00:16:13Z","updated_at":"2015-06-10T00:16:13Z","html_url":"https://github.com/yegor256/netbout/pull/676#discussion_r32078536","pull_request_url":"https://api.github.com/repos/yegor256/netbout/pulls/676","_links":{"self":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/comments/32078536"},"html":{"href":"https://github.com/yegor256/netbout/pull/676#discussion_r32078536"},"pull_request":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/676"}}},"pull_request":{"url":"https://api.github.com/repos/yegor256/netbout/pulls/676","id":37112983,"html_url":"https://github.com/yegor256/netbout/pull/676","diff_url":"https://github.com/yegor256/netbout/pull/676.diff","patch_url":"https://github.com/yegor256/netbout/pull/676.patch","issue_url":"https://api.github.com/repos/yegor256/netbout/issues/676","number":676,"state":"open","locked":false,"title":"Fixed #632: infinite scrolling problem on firefox","user":{"login":"erimerturk","id":416283,"avatar_url":"https://avatars.githubusercontent.com/u/416283?v=3","gravatar_id":"","url":"https://api.github.com/users/erimerturk","html_url":"https://github.com/erimerturk","followers_url":"https://api.github.com/users/erimerturk/followers","following_url":"https://api.github.com/users/erimerturk/following{/other_user}","gists_url":"https://api.github.com/users/erimerturk/gists{/gist_id}","starred_url":"https://api.github.com/users/erimerturk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erimerturk/subscriptions","organizations_url":"https://api.github.com/users/erimerturk/orgs","repos_url":"https://api.github.com/users/erimerturk/repos","events_url":"https://api.github.com/users/erimerturk/events{/privacy}","received_events_url":"https://api.github.com/users/erimerturk/received_events","type":"User","site_admin":false},"body":"Fixed infinite scrolling problem on inbox and bout page for firefox #632 ","created_at":"2015-06-07T20:40:13Z","updated_at":"2015-06-10T00:16:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"560a7336ae9f81e6913e898a65d24b91de5f32a8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/yegor256/netbout/pulls/676/commits","review_comments_url":"https://api.github.com/repos/yegor256/netbout/pulls/676/comments","review_comment_url":"https://api.github.com/repos/yegor256/netbout/pulls/comments{/number}","comments_url":"https://api.github.com/repos/yegor256/netbout/issues/676/comments","statuses_url":"https://api.github.com/repos/yegor256/netbout/statuses/07c7c17eb86d3ddc514f390644ff4981da0ee756","head":{"label":"erimerturk:632","ref":"632","sha":"07c7c17eb86d3ddc514f390644ff4981da0ee756","user":{"login":"erimerturk","id":416283,"avatar_url":"https://avatars.githubusercontent.com/u/416283?v=3","gravatar_id":"","url":"https://api.github.com/users/erimerturk","html_url":"https://github.com/erimerturk","followers_url":"https://api.github.com/users/erimerturk/followers","following_url":"https://api.github.com/users/erimerturk/following{/other_user}","gists_url":"https://api.github.com/users/erimerturk/gists{/gist_id}","starred_url":"https://api.github.com/users/erimerturk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erimerturk/subscriptions","organizations_url":"https://api.github.com/users/erimerturk/orgs","repos_url":"https://api.github.com/users/erimerturk/repos","events_url":"https://api.github.com/users/erimerturk/events{/privacy}","received_events_url":"https://api.github.com/users/erimerturk/received_events","type":"User","site_admin":false},"repo":{"id":35940752,"name":"netbout","full_name":"erimerturk/netbout","owner":{"login":"erimerturk","id":416283,"avatar_url":"https://avatars.githubusercontent.com/u/416283?v=3","gravatar_id":"","url":"https://api.github.com/users/erimerturk","html_url":"https://github.com/erimerturk","followers_url":"https://api.github.com/users/erimerturk/followers","following_url":"https://api.github.com/users/erimerturk/following{/other_user}","gists_url":"https://api.github.com/users/erimerturk/gists{/gist_id}","starred_url":"https://api.github.com/users/erimerturk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/erimerturk/subscriptions","organizations_url":"https://api.github.com/users/erimerturk/orgs","repos_url":"https://api.github.com/users/erimerturk/repos","events_url":"https://api.github.com/users/erimerturk/events{/privacy}","received_events_url":"https://api.github.com/users/erimerturk/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/erimerturk/netbout","description":"Private talks made easy","fork":true,"url":"https://api.github.com/repos/erimerturk/netbout","forks_url":"https://api.github.com/repos/erimerturk/netbout/forks","keys_url":"https://api.github.com/repos/erimerturk/netbout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/erimerturk/netbout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/erimerturk/netbout/teams","hooks_url":"https://api.github.com/repos/erimerturk/netbout/hooks","issue_events_url":"https://api.github.com/repos/erimerturk/netbout/issues/events{/number}","events_url":"https://api.github.com/repos/erimerturk/netbout/events","assignees_url":"https://api.github.com/repos/erimerturk/netbout/assignees{/user}","branches_url":"https://api.github.com/repos/erimerturk/netbout/branches{/branch}","tags_url":"https://api.github.com/repos/erimerturk/netbout/tags","blobs_url":"https://api.github.com/repos/erimerturk/netbout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/erimerturk/netbout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/erimerturk/netbout/git/refs{/sha}","trees_url":"https://api.github.com/repos/erimerturk/netbout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/erimerturk/netbout/statuses/{sha}","languages_url":"https://api.github.com/repos/erimerturk/netbout/languages","stargazers_url":"https://api.github.com/repos/erimerturk/netbout/stargazers","contributors_url":"https://api.github.com/repos/erimerturk/netbout/contributors","subscribers_url":"https://api.github.com/repos/erimerturk/netbout/subscribers","subscription_url":"https://api.github.com/repos/erimerturk/netbout/subscription","commits_url":"https://api.github.com/repos/erimerturk/netbout/commits{/sha}","git_commits_url":"https://api.github.com/repos/erimerturk/netbout/git/commits{/sha}","comments_url":"https://api.github.com/repos/erimerturk/netbout/comments{/number}","issue_comment_url":"https://api.github.com/repos/erimerturk/netbout/issues/comments{/number}","contents_url":"https://api.github.com/repos/erimerturk/netbout/contents/{+path}","compare_url":"https://api.github.com/repos/erimerturk/netbout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/erimerturk/netbout/merges","archive_url":"https://api.github.com/repos/erimerturk/netbout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/erimerturk/netbout/downloads","issues_url":"https://api.github.com/repos/erimerturk/netbout/issues{/number}","pulls_url":"https://api.github.com/repos/erimerturk/netbout/pulls{/number}","milestones_url":"https://api.github.com/repos/erimerturk/netbout/milestones{/number}","notifications_url":"https://api.github.com/repos/erimerturk/netbout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/erimerturk/netbout/labels{/name}","releases_url":"https://api.github.com/repos/erimerturk/netbout/releases{/id}","created_at":"2015-05-20T10:11:37Z","updated_at":"2015-05-20T10:11:38Z","pushed_at":"2015-06-09T20:05:12Z","git_url":"git://github.com/erimerturk/netbout.git","ssh_url":"git@github.com:erimerturk/netbout.git","clone_url":"https://github.com/erimerturk/netbout.git","svn_url":"https://github.com/erimerturk/netbout","homepage":"www.netbout.com","size":17093,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"yegor256:master","ref":"master","sha":"6c96cf95d6c74146cc283b81fa40e9909f28f66d","user":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"repo":{"id":9580819,"name":"netbout","full_name":"yegor256/netbout","owner":{"login":"yegor256","id":526301,"avatar_url":"https://avatars.githubusercontent.com/u/526301?v=3","gravatar_id":"","url":"https://api.github.com/users/yegor256","html_url":"https://github.com/yegor256","followers_url":"https://api.github.com/users/yegor256/followers","following_url":"https://api.github.com/users/yegor256/following{/other_user}","gists_url":"https://api.github.com/users/yegor256/gists{/gist_id}","starred_url":"https://api.github.com/users/yegor256/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yegor256/subscriptions","organizations_url":"https://api.github.com/users/yegor256/orgs","repos_url":"https://api.github.com/users/yegor256/repos","events_url":"https://api.github.com/users/yegor256/events{/privacy}","received_events_url":"https://api.github.com/users/yegor256/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yegor256/netbout","description":"Private talks made easy","fork":false,"url":"https://api.github.com/repos/yegor256/netbout","forks_url":"https://api.github.com/repos/yegor256/netbout/forks","keys_url":"https://api.github.com/repos/yegor256/netbout/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yegor256/netbout/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yegor256/netbout/teams","hooks_url":"https://api.github.com/repos/yegor256/netbout/hooks","issue_events_url":"https://api.github.com/repos/yegor256/netbout/issues/events{/number}","events_url":"https://api.github.com/repos/yegor256/netbout/events","assignees_url":"https://api.github.com/repos/yegor256/netbout/assignees{/user}","branches_url":"https://api.github.com/repos/yegor256/netbout/branches{/branch}","tags_url":"https://api.github.com/repos/yegor256/netbout/tags","blobs_url":"https://api.github.com/repos/yegor256/netbout/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yegor256/netbout/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yegor256/netbout/git/refs{/sha}","trees_url":"https://api.github.com/repos/yegor256/netbout/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yegor256/netbout/statuses/{sha}","languages_url":"https://api.github.com/repos/yegor256/netbout/languages","stargazers_url":"https://api.github.com/repos/yegor256/netbout/stargazers","contributors_url":"https://api.github.com/repos/yegor256/netbout/contributors","subscribers_url":"https://api.github.com/repos/yegor256/netbout/subscribers","subscription_url":"https://api.github.com/repos/yegor256/netbout/subscription","commits_url":"https://api.github.com/repos/yegor256/netbout/commits{/sha}","git_commits_url":"https://api.github.com/repos/yegor256/netbout/git/commits{/sha}","comments_url":"https://api.github.com/repos/yegor256/netbout/comments{/number}","issue_comment_url":"https://api.github.com/repos/yegor256/netbout/issues/comments{/number}","contents_url":"https://api.github.com/repos/yegor256/netbout/contents/{+path}","compare_url":"https://api.github.com/repos/yegor256/netbout/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yegor256/netbout/merges","archive_url":"https://api.github.com/repos/yegor256/netbout/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yegor256/netbout/downloads","issues_url":"https://api.github.com/repos/yegor256/netbout/issues{/number}","pulls_url":"https://api.github.com/repos/yegor256/netbout/pulls{/number}","milestones_url":"https://api.github.com/repos/yegor256/netbout/milestones{/number}","notifications_url":"https://api.github.com/repos/yegor256/netbout/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yegor256/netbout/labels{/name}","releases_url":"https://api.github.com/repos/yegor256/netbout/releases{/id}","created_at":"2013-04-21T14:49:21Z","updated_at":"2015-06-06T13:46:36Z","pushed_at":"2015-06-09T22:07:01Z","git_url":"git://github.com/yegor256/netbout.git","ssh_url":"git@github.com:yegor256/netbout.git","clone_url":"https://github.com/yegor256/netbout.git","svn_url":"https://github.com/yegor256/netbout","homepage":"www.netbout.com","size":18747,"stargazers_count":11,"watchers_count":11,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":10,"mirror_url":null,"open_issues_count":40,"forks":10,"open_issues":40,"watchers":11,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/676"},"html":{"href":"https://github.com/yegor256/netbout/pull/676"},"issue":{"href":"https://api.github.com/repos/yegor256/netbout/issues/676"},"comments":{"href":"https://api.github.com/repos/yegor256/netbout/issues/676/comments"},"review_comments":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/676/comments"},"review_comment":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/yegor256/netbout/pulls/676/commits"},"statuses":{"href":"https://api.github.com/repos/yegor256/netbout/statuses/07c7c17eb86d3ddc514f390644ff4981da0ee756"}}}}