if (ska > skb) return 1;
return 0;
};
-
+
var compare_by_score = function(refutation_lines, a, b) {
var sa = parseInt(refutation_lines[b].score_sort_key);
var sb = parseInt(refutation_lines[a].score_sort_key);
var move = "<a class=\"move\" href=\"javascript:show_line(" + (display_lines.length - 1) + ", " + 0 + ");\">" + pretty_pv[0] + "</a>";
pv = move_num + '. … ' + move;
toplay = 'W';
- ++i;
+ ++i;
++move_num;
}
for ( ; i < pretty_pv.length; ++i) {
stats += ', ' + data.tbhits + ' Nalimov hits';
}
}
-
$("#searchstats").text(stats);
}