Removing console logs.

This commit is contained in:
Evelyn Eastmond 2018-11-18 13:41:26 -05:00
parent fdda1e53e3
commit 2d9531a15c
3 changed files with 0 additions and 3 deletions

View file

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

View file

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

View file

@ -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 = {