From 13b3c1a1940b58a1baf2aa0174031ead60b0184b Mon Sep 17 00:00:00 2001 From: Sam El-Husseini <16690124+samelhusseini@users.noreply.github.com> Date: Wed, 2 May 2018 22:09:04 -0700 Subject: [PATCH] Attempt to shorten color sensor ambient and reflected blocks by removing detected keyword (#560) --- libs/color-sensor/color.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/color-sensor/color.ts b/libs/color-sensor/color.ts index 8baee344..541c869f 100644 --- a/libs/color-sensor/color.ts +++ b/libs/color-sensor/color.ts @@ -185,7 +185,7 @@ namespace sensors { * @param handler the code to run when detected */ //% help=sensors/color-sensor/on-light-detected - //% block="on **color sensor** %this|detected %mode|%condition" + //% block="on **color sensor** %this|%mode|%condition" //% blockId=colorOnLightDetected //% parts="colorsensor" //% blockNamespace=sensors @@ -202,7 +202,7 @@ namespace sensors { * @param color the color to detect */ //% help=sensors/color-sensor/pause-until-light-detected - //% block="pause until **color sensor** %this|detected %mode|%condition" + //% block="pause until **color sensor** %this|%mode|%condition" //% blockId=colorPauseUntilLightDetected //% parts="colorsensor" //% blockNamespace=sensors