{
let teams = [];
let games = [];
- let num_left = 4;
+ let num_left = 5;
let cb = function(response, group_name) {
teams = teams.concat(parse_teams_from_spreadsheet(response));
get_group('Group B', cb);
get_group('Group C', cb);
get_group('Playoffs', cb);
+ get_group('Playoffs 9th-13th', cb);
};
function do_series(series)
let games_per_group = [];
let combined_teams = [];
let combined_games = [];
- let num_left = 4;
+ let num_left = 5;
let cb = function(response, group_name) {
let teams = parse_teams_from_spreadsheet(response);
[ 2000, function() { hidetable(); } ],
[ 13000, function() { display_group_parsed(teams_per_group['Group C'], games_per_group['Group C'], 'Group C'); } ],
[ 2000, function() { hidetable(); } ]
+ [ 13000, function() { display_group_parsed(teams_per_group['Playoffs 9th-13th'], games_per_group['Playoffs 9th-13th'], 'Playoffs 9th–13th'); } ],
+ [ 2000, function() { hidetable(); } ]
];
let num_pages = find_num_pages(combined_games);
for (let page = 0; page < num_pages; ++page) {
get_group('Group A', cb);
get_group('Group B', cb);
get_group('Group C', cb);
+ get_group('Playoffs 9th-13th', cb);
get_group('Playoffs', cb);
};
'ranking_list_start_row': 15,
'ranking_list_explain_row': 21
},
- 'Group L': {
+ 'Playoffs 9th-13th': {
// Rank, name, points.
'score_sheet_cols': [ 'Results!S', 'Results!T', 'Results!U' ],
'point_total_start_row': null,
<a href="javascript:stopcarousel();showgroup('Group A')">show group A</a>
<a href="javascript:stopcarousel();showgroup('Group B')">show group B</a>
<a href="javascript:stopcarousel();showgroup('Group C')">show group C</a>
- <a href="javascript:stopcarousel();showgroup('Group L')">show group L</a>
+ <a href="javascript:stopcarousel();showgroup('Playoffs 9th-13th')">show group L</a>
<a href="javascript:stopcarousel();showschedule()">show schedule</a>
<a href="javascript:stopcarousel();showcarousel()">show carousel</a>
<a href="javascript:stopcarousel();hidetable()">table out</a>
};
possibly_update_oauth_key(function() {
post_json('https://sheets.googleapis.com/v4/spreadsheets/' + ultimateconfig['score_sheet_id'] + '/values:batchUpdate?key=' + ultimateconfig['api_key'], json, function(response) {
- get_group('Group L', function(response_l) { publish_group_rank(response_l, 'Group L'); });
+ get_group('Playoffs 9th-13th', function(response_l) { publish_group_rank(response_l, 'Playoffs 9th-13th'); });
}, current_oauth_access_token);
post_json('https://sheets.googleapis.com/v4/spreadsheets/' + ultimateconfig['score_sheet_id'] + ':batchUpdate?key=' + ultimateconfig['api_key'], meta_json, function(response) {}, current_oauth_access_token);
});