]> git.sesse.net Git - pkanalytics/commitdiff
Remove some debugging.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 10 May 2023 19:27:16 +0000 (21:27 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 10 May 2023 19:27:16 +0000 (21:27 +0200)
ultimate.js

index 330bdd6f44ada5ee46dd3ba0f3e37b7981d9654a..bb2f449c08796c9f02a12545930103ee68f5c153 100644 (file)
@@ -4,7 +4,7 @@
 
 let global_json;
 
-addEventListener('hashchange', () => { console.log('heei'); process_matches(global_json); });
+addEventListener('hashchange', () => { process_matches(global_json); });
 fetch('ultimate.json')
    .then(response => response.json())
    .then(response => { global_json = response; process_matches(global_json); });
@@ -318,7 +318,6 @@ function make_table_general(players) {
                add_cell(row, 'td', p.points_played);
                add_cell(row, 'td', Math.floor(p.playing_time_ms / 60000) + ' min');
                rows.push(row);
-               console.log(p.name + " played " + p.points_played + " points (" + Math.floor(p.playing_time_ms / 60000) + " min), " + p.goals + " goals, " + p.assists + " assists, plus/minus: " + pm);
        }
        return rows;
 }