From 7bb8f480aed012a11a3457372d5f9d3c6ac9398e Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Mon, 28 Mar 2016 00:11:45 -0700 Subject: [PATCH] disabling shims --- libs/microbit/control.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/microbit/control.ts b/libs/microbit/control.ts index 24c9abcf..f4175ba2 100644 --- a/libs/microbit/control.ts +++ b/libs/microbit/control.ts @@ -194,14 +194,14 @@ namespace control { @param value Component specific code indicating the cause of the event. @param mode optional definition of how the event should be processed after construction (default is CREATE_AND_QUEUE). */ - //% shim=micro_bit::busRaiseEvent + // shim=micro_bit::busRaiseEvent //% weight=21 blockGap=8 blockId="control_raise_event" block="raise event|from source %src=control_constant|with value %value=control_constant" blockExternalInputs=1 export function raiseEvent(src: number, value: number, mode: EventCreationMode = EventCreationMode.CreateAndQueue): void { } /** * Raises an event in the event bus. */ - //% shim=micro_bit::onBusEvent + // shim=micro_bit::onBusEvent //% weight=20 blockGap=8 blockId="control_on_event" block="on event|from %src=control_constant|value %value=control_constant" export function onEvent(src: number, value: number, handler: Action): void { }