Maybe just give the run app a mechanism to eval additional pages which can be selected by swiping but are installed as separate apps. Just to keep run as slim as possible by default. An example for this would be the Recorder app. That searches for all files named *.recorder.js and evals those. The resulting objects are in an array and could just provide a draw method to be called if the page is swiped to.
I had a short run and I had two problems:
The settings do not seem to have defaults, app crashes accessing the undefined settings object
Swiping works fine, but the display was not updated but seemed complete otherwise
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.
Maybe just give the run app a mechanism to eval additional pages which can be selected by swiping but are installed as separate apps. Just to keep run as slim as possible by default. An example for this would be the Recorder app. That searches for all files named
*.recorder.js
and evals those. The resulting objects are in an array and could just provide a draw method to be called if the page is swiped to.I had a short run and I had two problems: