const _GB = global.GB; global.GB = (event) => { if (event.t==="weather") update(event); if (_GB) setTimeout(_GB, 0, event); };
Does anyone know where this code is called from? I can't see a reference to GB function Looked in weather app and gbridge app. Hmmm
EDIT: Found an answer : http://forum.espruino.com/conversations/345459/
@d3nd3-o0 started
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.
Does anyone know where this code is called from? I can't see a reference to GB function
Looked in weather app and gbridge app. Hmmm
EDIT: Found an answer : http://forum.espruino.com/conversations/345459/