diff --git a/output/js/constants.js b/output/js/constants.js index 7bad23f..82b89c4 100644 --- a/output/js/constants.js +++ b/output/js/constants.js @@ -37,16 +37,16 @@ export const ATTRIBUTES = { } }; -export function columnAscendingByDefault(column) { - return column != COLUMN.USERS; +export function columnAscendingByDefault(column) { + return column != COLUMN.USERS; } export function columnIsSortable(column) { return column != COLUMN.QR_CODE; } export function columnNeedsCasefold(column) { return [ - COLUMN.IDENTIFIER, - COLUMN.NAME, + COLUMN.IDENTIFIER, + COLUMN.NAME, COLUMN.DESCRIPTION ].includes(column); } diff --git a/output/main.js b/output/main.js index 6809a51..38a7a46 100644 --- a/output/main.js +++ b/output/main.js @@ -6,15 +6,15 @@ * This JavaScript file uses the JSDoc commenting style. * Learn more: https://jsdoc.app/ */ - + // Nudge TypeScript plugins to type-check using JSDoc comments. // @ts-check // Early prevention for bugs introduced by lazy coding. 'use strict'; -// Import magic numbers and data -import { +// Import magic numbers and data +import { dom, COLUMN, COLUMN_LITERAL, COMPARISON, ATTRIBUTES, columnAscendingByDefault, columnIsSortable, columnNeedsCasefold, columnIsNumeric @@ -41,7 +41,7 @@ const filteredCommunities = { "gore+e5e0" // gore ], - // These communities should be checked regularly + // These communities should be checked regularly // in case they update their PySOGS version legacy: [ "Ukraine+02bd" // https://reccacon.com/view/room/Ukraine @@ -50,7 +50,7 @@ const filteredCommunities = { // This can be achieved with `text-overflow: ellipsis` instead // and generated entirely server-side. -const transformJoinURL = (join_link) => +const transformJoinURL = (join_link) => `${join_link.substring(0, 31)}...