diff options
author | bahbka <bahbka@bahbka.com> | 2014-07-06 17:48:37 +0400 |
---|---|---|
committer | bahbka <bahbka@bahbka.com> | 2014-07-06 17:48:37 +0400 |
commit | b23a3c4b9009e7d5b2f386cdb4b45cc841ababd9 (patch) | |
tree | e38b3fdc84f8feca13a9df3ebc9d38791b61dd90 | |
parent | a956d97d0688a39bd60ca5fc44d4b40ef225c2a0 (diff) |
Added default settings.
-rw-r--r-- | appinfo.json | 4 | ||||
-rw-r--r-- | resources/configuration.html | 4 | ||||
-rw-r--r-- | src/js/pebble-js-app.src.js | 7 | ||||
-rw-r--r-- | 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 --> </head> <body onload="put_config();"> <h1>My Data</h1> - <small>v2.0.2, by bahbka</small> + <small>v2.0.3, by bahbka</small> <hr size="1" /> <form action="javascript: get_config();" id="config_form"> Server URL: - <input type="text" id="url" class="url" value="your URL here"> + <input type="text" id="url" class="url" value="" placeholder="your URL here"> <div class="param"> <div class="label"> 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 Binary files differindex 424da09..b8e2c68 100644 --- a/stuff/pebble-my-data.pbw +++ b/stuff/pebble-my-data.pbw |