Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/pebble-mario.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/pebble-js-app.js')
-rw-r--r--src/js/pebble-js-app.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/js/pebble-js-app.js b/src/js/pebble-js-app.js
index 029fe08..827bf6b 100644
--- a/src/js/pebble-js-app.js
+++ b/src/js/pebble-js-app.js
@@ -6,6 +6,7 @@ var options = {
"config_show_battery": true,
"config_show_phone_battery": false,
"config_vibe": false,
+ "config_vibe_hour": false,
"config_background": 0,
};
@@ -82,8 +83,9 @@ Pebble.addEventListener("showConfiguration", function() {
var watch = null;
}
var platform = "&platform=" + ((watch != null) ? watch.platform : "unknown");
- console.log("showing configuration");
- Pebble.openURL("http://clusterrr.com/pebble_configs/mario_w.php" + cfg + platform);
+ var config_version = "&v=2";
+ console.log("Showing configuration");
+ Pebble.openURL("http://clusterrr.com/pebble_configs/mario_w.php" + cfg + platform + config_version);
});
Pebble.addEventListener("webviewclosed", function(e) {