espruino / Espruino

The Espruino JavaScript interpreter - Official Repo
http://www.espruino.com/
Other
2.74k stars 741 forks source link

Guard against Bangle.setUI({ <no mode> }) #2393

Closed bobrippling closed 12 months ago

bobrippling commented 1 year ago

Following on from #2389, this makes it clear that while setUI() can be used to reset the UI, setUI({}) cannot, and must always specify mode (amongst other options).

gfwilliams commented 12 months ago

Great, thanks!