mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Fixing linting errors.
This commit is contained in:
parent
0a9f629fb4
commit
c603e0d653
1 changed files with 5 additions and 5 deletions
|
@ -814,7 +814,7 @@ class Scratch3MicroBitBlocks {
|
||||||
this._peripheral.ledMatrixState[3] = (hex >> 15) & 0x1F;
|
this._peripheral.ledMatrixState[3] = (hex >> 15) & 0x1F;
|
||||||
this._peripheral.ledMatrixState[4] = (hex >> 20) & 0x1F;
|
this._peripheral.ledMatrixState[4] = (hex >> 20) & 0x1F;
|
||||||
this._peripheral.displayMatrix(this._peripheral.ledMatrixState);
|
this._peripheral.displayMatrix(this._peripheral.ledMatrixState);
|
||||||
}).catch(e => {
|
}).catch(() => {
|
||||||
// console.log('*** CATCH DISPLAY_SYMBOL REJECTION');
|
// console.log('*** CATCH DISPLAY_SYMBOL REJECTION');
|
||||||
// console.log(e);
|
// console.log(e);
|
||||||
});
|
});
|
||||||
|
@ -842,7 +842,7 @@ class Scratch3MicroBitBlocks {
|
||||||
resolve();
|
resolve();
|
||||||
}, yieldDelay);
|
}, yieldDelay);
|
||||||
});
|
});
|
||||||
}).catch(e => {
|
}).catch(() => {
|
||||||
// console.log('*** CATCH DISPLAY_TEXT REJECTION');
|
// console.log('*** CATCH DISPLAY_TEXT REJECTION');
|
||||||
// console.log(e);
|
// console.log(e);
|
||||||
});
|
});
|
||||||
|
@ -858,7 +858,7 @@ class Scratch3MicroBitBlocks {
|
||||||
this._peripheral.ledMatrixState[i] = 0;
|
this._peripheral.ledMatrixState[i] = 0;
|
||||||
}
|
}
|
||||||
this._peripheral.displayMatrix(this._peripheral.ledMatrixState);
|
this._peripheral.displayMatrix(this._peripheral.ledMatrixState);
|
||||||
}).catch(e => {
|
}).catch(() => {
|
||||||
// console.log('*** CATCH DISPLAY_CLEAR REJECTION');
|
// console.log('*** CATCH DISPLAY_CLEAR REJECTION');
|
||||||
// console.log(e);
|
// console.log(e);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue