clach04 / pebble_watchface_framework

Working, ready to build Bare-Bones watch face for Pebble (OG/Classic, Time, and Round) Aplite, Basalt, Diorite, and Chalk. With configuration and settings support.
Apache License 2.0
20 stars 2 forks source link

js dict storage for config settings #1

Closed clach04 closed 8 years ago

clach04 commented 8 years ago

Instead of storing each config item individually on the phone, use a dict.

This makes adding (or even removing) items easier as there is no longer the need to change code related to storage. It does not eliminate the need for validation/conversion code.

Code in place to handle upgrades where individual items where save to localstorage.