Optimized fetching from aule.usi.ch
And btw Joey follow the modeline for indentation or I'll start using 3 spaces instead of 2
This commit is contained in:
parent
724015cf62
commit
86f43a4b43
4 changed files with 326 additions and 326 deletions
7
app.js
7
app.js
|
@ -149,10 +149,7 @@ function setupTimeMachine() {
|
|||
setTimePreview(date);
|
||||
}
|
||||
|
||||
(async () => {
|
||||
for (const room of ROOMS) {
|
||||
await buildRoomMarkup(room);
|
||||
}
|
||||
})();
|
||||
// Thanks to Andrea Gallidabino and his mastery checks for this
|
||||
Promise.all(ROOMS.map(buildRoomMarkup)).catch(console.error);
|
||||
|
||||
setupTimeMachine();
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
/* Inter font */
|
||||
/* vim: set ts=2 sw=2 et tw=80: */
|
||||
|
||||
@font-face {
|
||||
font-family: 'Inter';
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
{
|
||||
"_modeline": " vim: set ts=2 sw=2 et tw=80:",
|
||||
|
||||
"short_name": "USI Rooms",
|
||||
"name": "USI INF Rooms",
|
||||
"icons": [
|
||||
|
|
Loading…
Reference in a new issue