From b23a3c4b9009e7d5b2f386cdb4b45cc841ababd9 Mon Sep 17 00:00:00 2001 From: bahbka Date: Sun, 6 Jul 2014 17:48:37 +0400 Subject: Added default settings. --- appinfo.json | 4 ++-- resources/configuration.html | 4 ++-- src/js/pebble-js-app.src.js | 7 ++++++- stuff/pebble-my-data.pbw | Bin 27522 -> 27691 bytes 4 files changed, 10 insertions(+), 5 deletions(-) diff --git a/appinfo.json b/appinfo.json index 38c6a1a..8026976 100644 --- a/appinfo.json +++ b/appinfo.json @@ -3,8 +3,8 @@ "shortName": "My Data", "longName": "My Data", "companyName": "bahbka", - "versionCode": 202, - "versionLabel": "2.0.2", + "versionCode": 203, + "versionLabel": "2.0.3", "watchapp": { "watchface": false }, diff --git a/resources/configuration.html b/resources/configuration.html index 4d5379e..7b6070d 100644 --- a/resources/configuration.html +++ b/resources/configuration.html @@ -54,12 +54,12 @@ vim: sw=2 ts=2 expandtab ai -->

My Data

- v2.0.2, by bahbka + v2.0.3, by bahbka
Server URL: - +
diff --git a/src/js/pebble-js-app.src.js b/src/js/pebble-js-app.src.js index 730a179..93cbd2b 100644 --- a/src/js/pebble-js-app.src.js +++ b/src/js/pebble-js-app.src.js @@ -10,7 +10,12 @@ var MSG = { ERROR: 5 }; -var config = {}; +// default settings +var config = { + "config_location": false, + "config_vibrate": true, + "config_seconds": true +}; function http_request(url) { var req = new XMLHttpRequest(); diff --git a/stuff/pebble-my-data.pbw b/stuff/pebble-my-data.pbw index 424da09..b8e2c68 100644 Binary files a/stuff/pebble-my-data.pbw and b/stuff/pebble-my-data.pbw differ -- cgit v1.2.3