comparison tests/test-hgweb-empty.t @ 24952:169d2470d283 stable

hgweb: bring back infinite scroll in shortlog of paper style Since fdf7794be41d, column headers are wrapped by <thead> element, so the first and only <tbody> contains changelog data. I got the following error without this patch: Uncaught TypeError: Cannot read property 'lastElementChild' of null scrollHandler @ mercurial.js:375
author Yuya Nishihara <yuya@tcha.org>
date Thu, 07 May 2015 07:46:39 +0900
parents fdf7794be41d
children 4d2b9b304ad0
comparison
equal deleted inserted replaced
24950:e6e7d1cce04d 24952:169d2470d283
97 '', <!-- NEXTHASH 97 '', <!-- NEXTHASH
98 function (htmlText, previousVal) { 98 function (htmlText, previousVal) {
99 var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/); 99 var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
100 return m ? m[1] : null; 100 return m ? m[1] : null;
101 }, 101 },
102 '.bigtable > tbody:nth-of-type(2)', 102 '.bigtable > tbody',
103 '<tr class="%class%">\ 103 '<tr class="%class%">\
104 <td colspan="3" style="text-align: center;">%text%</td>\ 104 <td colspan="3" style="text-align: center;">%text%</td>\
105 </tr>' 105 </tr>'
106 ); 106 );
107 </script> 107 </script>
208 '', <!-- NEXTHASH 208 '', <!-- NEXTHASH
209 function (htmlText, previousVal) { 209 function (htmlText, previousVal) {
210 var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/); 210 var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
211 return m ? m[1] : null; 211 return m ? m[1] : null;
212 }, 212 },
213 '.bigtable > tbody:nth-of-type(2)', 213 '.bigtable > tbody',
214 '<tr class="%class%">\ 214 '<tr class="%class%">\
215 <td colspan="3" style="text-align: center;">%text%</td>\ 215 <td colspan="3" style="text-align: center;">%text%</td>\
216 </tr>' 216 </tr>'
217 ); 217 );
218 </script> 218 </script>