sensebox / React-Ardublockly

This repository contains the new senseBox learn- and programming environment powered by google Blockly and React
Apache License 2.0
2 stars 6 forks source link

[Blockly][Codegenerator] Allow openSenseMap Block without Interval Block around #255

Closed mariopesch closed 7 months ago

mariopesch commented 7 months ago

Block description

Currently the openSenseMap Block needs to be nested inside the interval block. When using other structures such as the case structure the interval block is not needed

Thiemann96 commented 7 months ago

I mean a825b1d works but ulitmately I am not sure if this is the correct way. Was not really able to figure out where LOOP_TYPES is defined

mariopesch commented 7 months ago

@Thiemann96 see here: https://github.com/sensebox/React-Ardublockly/pull/246/commits/85c7dacec76cc99a1cba2b5ef7175d9d2845458c one can just add more blocks to the LOOP_TYPES