That's not because of wid_edit, it's the messages widget: it already had an update method which expects an incoming message as argument.
Actually, I think I'd like to rewrite the messages library/app/widget some more, so it just passes everything through Bangle.emit("message", type, message);, instead of directly calling widget methods or global functions.
Ok! EDIT: But I don't seem to get the error if I don't install widgetupdate.
EDIT2: Another thing I'm noticing now is "Exit to launcher"-widget and "Light switch widget" will sit in the same postition, overlapping each other depending on which of them had the latest draw.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
That's not because of
wid_edit
, it's themessages
widget: it already had anupdate
method which expects an incoming message as argument.Actually, I think I'd like to rewrite the
messages
library/app/widget some more, so it just passes everything throughBangle.emit("message", type, message);
, instead of directly calling widget methods or global functions.