From 63d9b0249a22c82c5b84a53a44bb39d5779ced74 Mon Sep 17 00:00:00 2001 From: Evelyn Eastmond Date: Fri, 14 Jun 2019 12:08:51 -0400 Subject: [PATCH] Removed a TODO and clarified with a better comment. --- src/extensions/scratch3_ev3/index.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/extensions/scratch3_ev3/index.js b/src/extensions/scratch3_ev3/index.js index f02732cf9..cd9513baa 100644 --- a/src/extensions/scratch3_ev3/index.js +++ b/src/extensions/scratch3_ev3/index.js @@ -1290,11 +1290,14 @@ class Scratch3Ev3Blocks { /** * Call a callback for each motor indexed by the provided motor ID. + * + * Note: This way of looping through motors is currently unnecessary, but could be + * useful if an 'all motors' option is added in the future (see WeDo2 extension). + * * @param {MotorID} motorID - the ID specifier. * @param {Function} callback - the function to call with the numeric motor index for each motor. * @private */ - // TODO: unnecessary, but could be useful if 'all motors' is added (see WeDo2 extension) _forEachMotor (motorID, callback) { let motors; switch (motorID) {