Sorry - missed this! So it did work ok, but it was just the usage of move?
The typeof time check sounds good to me - I'll get those changes in
Well, the primary problem was that I passed my callback as the second argument - where you expect a time. And because of a proper check I did not immediately find the mistake.
move worked as intended - the endless loop was a side-effect of the wrong time argument.
© Espruino, powered by microcosm.
Report a problem