console.log cleanup
This commit is contained in:
parent
068d3a438c
commit
35cb3d424b
|
@ -126,15 +126,10 @@ const navigation = (() => {
|
|||
postMessage('loaded');
|
||||
};
|
||||
|
||||
const countLoadedCanvases = () => {
|
||||
const result = displays.reduce((acc, display) => {
|
||||
console.log(display.name, display.status);
|
||||
if (display.status !== STATUS.loading) return acc + 1;
|
||||
return acc;
|
||||
}, 0);
|
||||
console.log(result);
|
||||
return result;
|
||||
};
|
||||
const countLoadedCanvases = () => displays.reduce((acc, display) => {
|
||||
if (display.status !== STATUS.loading) return acc + 1;
|
||||
return acc;
|
||||
}, 0);
|
||||
|
||||
const hideAllCanvases = () => {
|
||||
displays.forEach((display) => display.hideCanvas());
|
||||
|
|
Loading…
Reference in a new issue