--- a/tests/test-hgweb-empty.t Sun Jan 14 20:06:56 2018 -0800
+++ b/tests/test-hgweb-empty.t Mon Jan 15 19:44:18 2018 +0800
@@ -96,7 +96,7 @@
ajaxScrollInit(
'/shortlog/%next%',
'', <!-- NEXTHASH
- function (htmlText, previousVal) {
+ function (htmlText) {
var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
return m ? m[1] : null;
},
@@ -207,7 +207,7 @@
ajaxScrollInit(
'/shortlog/%next%',
'', <!-- NEXTHASH
- function (htmlText, previousVal) {
+ function (htmlText) {
var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
return m ? m[1] : null;
},
@@ -314,7 +314,7 @@
ajaxScrollInit(
'/graph/%next%?graphtop=0000000000000000000000000000000000000000',
'', <!-- NEXTHASH
- function (htmlText, previousVal) {
+ function (htmlText) {
var m = htmlText.match(/'(\w+)', <!-- NEXTHASH/);
return m ? m[1] : null;
},