schedule.js
/*
 * Fetches info to make the UI.
 */
Fetches info to make the UI.
Fetches info to make the UI .
function initialize(roomba) {
	roomba.getRobotState(['cleanSchedule2'])
	.then((info) => {
		makeScheduleUI(info.cleanSchedule2);
	})
	.catch(logger.logError);
}
function initialize ( roomba ) { roomba . getRobotState ( [ 'cleanSchedule2' ] ) . then ( ( info ) => { makeScheduleUI ( info . cleanSchedule2 ) ; } ) . catch ( logger . logError ) ; }
Fetches info to make the UI.
Fetches info to make the UI .