disabling shims

This commit is contained in:
Peli de Halleux 2016-03-28 00:11:45 -07:00
parent 2b647b2940
commit 7bb8f480ae
1 changed files with 2 additions and 2 deletions

View File

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