window.js
/*
 * Sets up event listeners for tabs and open the first page.
 */
Sets up event listeners for tabs and open the first page.
Sets up event listeners for tabs and open the first page .
function initializePages() {
	let names = [ 'clean', 'map', 'schedule', 'info' ];
	for (let name of Object.keys(pages)) {
		document.getElementById('tab-'+name).addEventListener('click', openPage.bind(null, name));
	}
}
function initializePages ( ) { let names = [ 'clean' , 'map' , 'schedule' , 'info' ] ; for ( let name of Object . keys ( pages ) ) { document . getElementById ( 'tab-' + name ) . addEventListener ( 'click' , openPage . bind ( null , name ) ) ; } }
Sets up event listeners for tabs and open the first page.
Sets up event listeners for tabs and open the first page .