Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions src/vm/extensions/block/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ class MbitMore {

/**
* The most recently received button events for each buttons.
* @type {Object} - Store of buttons which has events.
* @type {Object}
* @private
*/
this.buttonEvents = {};
Expand All @@ -446,22 +446,22 @@ class MbitMore {

/**
* The most recently received gesture events.
* @type {Object <number, number>} - Store of gesture ID and timestamp.
* @type {Object.<number, number>}
* @private
*/
this.gestureEvents = {};


/**
* The most recently received events for each pin.
* @type {Object} - Store of pins which has events.
* @type {Object}
* @private
*/
this._pinEvents = {};

/**
* The most recently received data from micro:bit.
* @type {Object} - Store of received data
* @type {Object}
* @private
*/
this.receivedData = {};
Expand Down Expand Up @@ -2126,25 +2126,25 @@ class MbitMoreBlocks {

/**
* The previous timestamps of button events.
* @type {Object.<number, Object.<number, number>>} button ID to object with event and timestamp.
* @type {Object.<number, Object.<number, number>>}
*/
this.prevButtonEvents = {};

/**
* The previous timestamps of gesture events.
* @type {Object.<number, number>} key: event ID, value: timestamp.
* @type {Object.<number, number>}
*/
this.prevGestureEvents = {};

/**
* The previous timestamps of pin events.
* @type {Object.<number, Object.<number, number>>} pin index to object with event and timestamp.
* @type {Object.<number, Object.<number, number>>}
*/
this.prevPinEvents = {};

/**
* The previous timestamps of messages.
* @type {Object.<number, Object>} pin index to object with event and timestamp.
* @type {Object.<number, Object>}
*/
this.prevReceivedData = {};
}
Expand Down