Fixing linting errors.

This commit is contained in:
unknown 2019-03-07 08:38:52 -05:00
parent 0a9f629fb4
commit c603e0d653

View file

@ -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);
}); });