Simply Light Updates
I just finished a round of minor updates to my Pebble watchface, Simply Light. Most of these changes are just code changes to use my new NodeJS modules: WeatherMan.
Unfortunately using a browserified module in Pebble can be problematic, but only on iOS. The first problem was the lack of promises, which was easily solved by using a promise polyfill. The second problem was weird errors coming from one of the polyfills that browserify uses. I solved this by tricking the polyfill into thinking it was running in a non-browser environment: