mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 15:49:31 -07:00
console.log cleanup
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user