DFRobot / pxt-maqueen

Maqueen is an easy-to-use programming educational Robot
https://dfrobot.github.io/pxt-maqueen/
MIT License
42 stars 102 forks source link

Bug, On Bloq Received loop #1

Open vdirienzo opened 5 years ago

vdirienzo commented 5 years ago

guys i have noticed if you want to pull (on block received loop) into the programing it hangs all the browser (firefox and crhome latest versions). and you cant continue editing or adding any block.

as a workaround i had to switch to JavaScript interface and roll back

this is the funcitons that has problems:

maqueen.IR_callbackUser(function ({ myparam: message }) {})

i hope you can fix this its a big problem for newbies.

tomajar commented 5 years ago

there is old github repo and new - this official (?). there is no instruction what are the migration steps from: https://github.com/jhlucky/maqueen to: https://github.com/DFRobot/pxt-maqueen

but it seems the method signature has changed: from: image

to: image

I suggest to try to figure out what param you want to actually pass to the method. Maybe you have some old examples and try to use them with this package?