mirror of
https://github.com/scratchfoundation/scratch-vm.git
synced 2024-12-24 06:52:40 -05:00
Removing console logs.
This commit is contained in:
parent
fdda1e53e3
commit
2d9531a15c
3 changed files with 0 additions and 3 deletions
|
@ -579,7 +579,6 @@ class EV3 {
|
||||||
* Called by the runtime when user wants to disconnect from the EV3 peripheral.
|
* Called by the runtime when user wants to disconnect from the EV3 peripheral.
|
||||||
*/
|
*/
|
||||||
disconnect () {
|
disconnect () {
|
||||||
console.log('EV3 DISCONNECT');
|
|
||||||
this._clearSensorsAndMotors();
|
this._clearSensorsAndMotors();
|
||||||
window.clearInterval(this._pollingIntervalID);
|
window.clearInterval(this._pollingIntervalID);
|
||||||
this._pollingIntervalID = null;
|
this._pollingIntervalID = null;
|
||||||
|
|
|
@ -229,7 +229,6 @@ class MicroBit {
|
||||||
* Disconnect from the micro:bit.
|
* Disconnect from the micro:bit.
|
||||||
*/
|
*/
|
||||||
disconnect () {
|
disconnect () {
|
||||||
console.log('MICROBIT DISCONNECT');
|
|
||||||
window.clearInterval(this._timeoutID);
|
window.clearInterval(this._timeoutID);
|
||||||
if (this._ble) {
|
if (this._ble) {
|
||||||
this._ble.disconnect();
|
this._ble.disconnect();
|
||||||
|
|
|
@ -611,7 +611,6 @@ class WeDo2 {
|
||||||
* Disconnects from the current BLE socket.
|
* Disconnects from the current BLE socket.
|
||||||
*/
|
*/
|
||||||
disconnect () {
|
disconnect () {
|
||||||
console.log('WEDO2 DISCONNECT');
|
|
||||||
this._ports = ['none', 'none'];
|
this._ports = ['none', 'none'];
|
||||||
this._motors = [null, null];
|
this._motors = [null, null];
|
||||||
this._sensors = {
|
this._sensors = {
|
||||||
|
|
Loading…
Reference in a new issue