Consistent formatting

Signed-off-by: Joey <bevilacquajoey@gmail.com>
This commit is contained in:
Joey 2019-10-30 14:12:31 +01:00
parent 82f824ee0e
commit ad768bb389
3 changed files with 66 additions and 66 deletions

8
app.js
View file

@ -13,8 +13,8 @@ function roomStatus(room, callback) {
xhr.addEventListener('load', () => {
const parser = new DOMParser();
const doc = parser.parseFromString(xhr.responseText, 'text/html');
const lessons =
doc.querySelectorAll('table.rsContentTable div.rsAptSimple');
const lessons = doc.querySelectorAll(
'table.rsContentTable div.rsAptSimple');
const parsed = [];
for (let lesson of lessons) {
@ -152,10 +152,10 @@ function setupTimeMachine() {
setTimePreview(new Date(NOW.getTime() + 600000));
}
(async function() {
(async () => {
for (const room of ROOMS) {
await buildRoomMarkup(room);
}
})()
})();
setupTimeMachine();