modular
This commit is contained in:
12
static/js/app.js
Normal file
12
static/js/app.js
Normal file
@@ -0,0 +1,12 @@
|
||||
// ================================================================
|
||||
// Boot Sequence
|
||||
// ================================================================
|
||||
|
||||
window.addEventListener('DOMContentLoaded', () => {
|
||||
window.fetchTowns();
|
||||
window.fetchLog();
|
||||
window.fetchClientStatus();
|
||||
setInterval(window.fetchTowns, window.POLL_INTERVAL);
|
||||
setInterval(window.fetchLog, window.POLL_INTERVAL);
|
||||
setInterval(window.fetchClientStatus, window.POLL_INTERVAL);
|
||||
});
|
||||
Reference in New Issue
Block a user