JSON comments format in module files #7669
Replies: 1 comment
-
Posted at 2020-04-20 by @gfwilliams There's some rough documentation at https://github.com/espruino/Espruino/blob/master/scripts/common.py#L61 and https://github.com/espruino/Espruino/blob/master/README_BuildProcess.md#wrapper-files- Basically if you write an extension they are functions that hook into Espruino itself.
Posted at 2020-04-20 by Abhigkar Thanks @gfwilliams for your comment. This is what I am looking for. Posted at 2020-04-20 by Abhigkar Just one more thing about firing the events from the lib, like Bangle.on('mag'...) I guess events are triggering "type" : "idle", where the associated 'C' method [like jswrap_puck_idle(), jswrap_banglejs_idle() ]checks if any event is available once every time around the event loop and call * jsiQueueObjectCallbacks();*. Or there is something more or else that I am missing. Posted at 2020-05-04 by @gfwilliams No, that's about it. It'll return |
Beta Was this translation helpful? Give feedback.
-
Posted at 2020-04-19 by Abhigkar
What is the significance of the below jswrapper connect section, with type = init. Although Event and static method definitions are pretty much fine.
I am not able to find much information but this Espruino documentation page
EDIT: Similarly Type: kill/idle
Beta Was this translation helpful? Give feedback.
All reactions