Pastel: dependencies": {"mylocation":"app"} worked in that mylocation was installed when pastel was installed - with mylocation set as a widget. But a pull request failed on mylocation as a widget.
When I set mylocation to an app type, it gets shown in the loader as a blank icon and if you click on it - the watch freezes with a 'loading ....' message. This is because there is no mylocation.app.js - there is only a mylocation.settings.js file. Now I could swap them over and make the settings.js just load the App file - this is how gpssetup works if I recall.
I'll give that a go first.
UPDATE: I converted MyLocation to an App which seems like overkill just so that I can get dependency installs to work. It seems an App can depend on an App but not a widget or a simple app that just installs a xxx.settings.js file. I think we need a type = settings so we can have apps that just slot into the settings App.
Anyway just done a pull request for MyLocation, a nice Pebble Style clock and the sunrise, sunset update for Pastel. Hopefully the pull request will pass all tests now.
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.
Pastel:
dependencies": {"mylocation":"app"}
worked in that mylocation was installed when pastel was installed - with mylocation set as a widget. But a pull request failed on mylocation as a widget.When I set mylocation to an app type, it gets shown in the loader as a blank icon and if you click on it - the watch freezes with a 'loading ....' message. This is because there is no mylocation.app.js - there is only a mylocation.settings.js file. Now I could swap them over and make the settings.js just load the App file - this is how gpssetup works if I recall.
I'll give that a go first.
UPDATE: I converted MyLocation to an App which seems like overkill just so that I can get dependency installs to work. It seems an App can depend on an App but not a widget or a simple app that just installs a xxx.settings.js file. I think we need a type = settings so we can have apps that just slot into the settings App.
Anyway just done a pull request for MyLocation, a nice Pebble Style clock and the sunrise, sunset update for Pastel. Hopefully the pull request will pass all tests now.
1 Attachment