]> git.sesse.net Git - remoteglot/blobdiff - www/js/remoteglot.js
Whitespace fixes.
[remoteglot] / www / js / remoteglot.js
index 98d9ac4ece8c3e7667459275837635c2f925b9fd..ecb902f721d5fce28723e1045d5ce1016e1e53b2 100644 (file)
@@ -220,7 +220,7 @@ var compare_by_sort_key = function(refutation_lines, a, b) {
        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);
@@ -284,7 +284,7 @@ var print_pv = function(fen, uci_pv, pretty_pv, move_num, toplay, limit) {
                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) {
@@ -416,7 +416,6 @@ var update_board = function(board, data, num_viewers) {
                                stats += ', ' + data.tbhits + ' Nalimov hits';
                        }
                }
-               
 
                $("#searchstats").text(stats);
        }