mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2025-08-20 18:29:57 -04:00
Lint (remove logs, add spaces)
This commit is contained in:
parent
3712b6fe72
commit
4bf5f85d9a
7 changed files with 12 additions and 40 deletions
src/io
|
@ -72,8 +72,6 @@ class BLE extends JSONRPC {
|
|||
* Close the websocket.
|
||||
*/
|
||||
disconnect () {
|
||||
console.log('BLE DISCONNECT CALLED');
|
||||
|
||||
if (this._connected) {
|
||||
this._connected = false;
|
||||
}
|
||||
|
@ -203,10 +201,8 @@ class BLE extends JSONRPC {
|
|||
* Disconnect the socket, and if the extension using this socket has a
|
||||
* reset callback, call it. Finally, emit an error to the runtime.
|
||||
*/
|
||||
handleDisconnectError (e) {
|
||||
console.error(`BLE error: ${JSON.stringify(e)}`);
|
||||
console.error(e);
|
||||
console.log('BLE HANDLEDISCONNECTERROR CALLED');
|
||||
handleDisconnectError (/* e */) {
|
||||
// log.error(`BLE error: ${JSON.stringify(e)}`);
|
||||
|
||||
if (!this._connected) return;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue