Closed TheLogan closed 9 months ago
eval(require("Storage").read("myapp.settings.js"))(()=>load());
results in the following: Uncaught Error: Function not found! ...).read("myapp.settings.js"))(()=>load());console.log('started...
I've also attempted to call load() directly, and on my bangle.js 2 it doesn't seem to do anything.
What's in myapp.settings.js?
myapp.settings.js
Is it that you missed:
This is great for testing, however to create a settings app, you must remove the (load) from the end of the code, so it should look like this:
eval(require("Storage").read("myapp.settings.js"))(()=>load());
results in the following: Uncaught Error: Function not found! ...).read("myapp.settings.js"))(()=>load());console.log('started...
I've also attempted to call load() directly, and on my bangle.js 2 it doesn't seem to do anything.