29 lines
440 B
JavaScript
29 lines
440 B
JavaScript
|
'use strict';
|
||
|
|
||
|
|
||
|
function configure(service, view) {
|
||
|
|
||
|
const update_screen = (storage, time, config) => {
|
||
|
|
||
|
let now = time.now();
|
||
|
|
||
|
//console.info('Updating Screen with:');
|
||
|
//console.info(storage);
|
||
|
//console.info(now);
|
||
|
//console.info(config);
|
||
|
|
||
|
view.update_main_slide(
|
||
|
storage,
|
||
|
now,
|
||
|
config);
|
||
|
};
|
||
|
|
||
|
|
||
|
return update_screen;
|
||
|
};
|
||
|
|
||
|
|
||
|
export {
|
||
|
configure
|
||
|
}
|