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

github.com/ClusterM/pebble-my-data.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--appinfo.json4
-rw-r--r--resources/configuration.html2
-rw-r--r--src/js/pebble-js-app.src.js2
3 files changed, 5 insertions, 3 deletions
diff --git a/appinfo.json b/appinfo.json
index 14386ff..f50ad67 100644
--- a/appinfo.json
+++ b/appinfo.json
@@ -3,8 +3,8 @@
"shortName": "My Data",
"longName": "My Data",
"companyName": "bahbka",
- "versionCode": 210,
- "versionLabel": "2.1.0",
+ "versionCode": 211,
+ "versionLabel": "2.1.1",
"watchapp": {
"watchface": false
},
diff --git a/resources/configuration.html b/resources/configuration.html
index 9edae1c..c3d2cd1 100644
--- a/resources/configuration.html
+++ b/resources/configuration.html
@@ -54,7 +54,7 @@ vim: sw=2 ts=2 expandtab ai -->
</head>
<body onload="put_config();">
<h1>My Data</h1>
- <small>v2.1.0, by bahbka</small>
+ <small>v2.1.1, by bahbka</small>
<hr size="1" />
<form action="javascript: get_config();" id="config_form">
diff --git a/src/js/pebble-js-app.src.js b/src/js/pebble-js-app.src.js
index 7358525..099a2f9 100644
--- a/src/js/pebble-js-app.src.js
+++ b/src/js/pebble-js-app.src.js
@@ -25,6 +25,8 @@ function http_request(url) {
var req = new XMLHttpRequest();
req.open('GET', url, true);
+ req.setRequestHeader('Pebble-Token', Pebble.getAccountToken());
+
req.onload = function(e) {
if (req.readyState == 4) {