battery-minus

Pebble activity tracker that records battery events
git clone https://git.instinctive.eu/battery-minus.git
Log | Files | Refs | README | LICENSE

commit 4d6c78800029f0f524987b2989226bd5e7b0ac2f
parent 26395cbf11d65f95e56e4b3fe8b50680ef3ae6f6
Author: Natasha Kerensikova <natacha@instinctive.eu>
Date:   Wed, 25 May 2016 21:41:46 +0000

Fix stupid functionification of array length
Diffstat:
Msrc/js/app.js | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/js/app.js b/src/js/app.js @@ -71,7 +71,7 @@ function uploadDone() { var sent_key = to_send.shift().split(";")[0]; localStorage.setItem("toSend", to_send.join("|")); localStorage.setItem("lastSent", sent_key); - if (to_send.length() === 0) { + if (to_send.length === 0) { Pebble.sendAppMessage({ "lastPosted": parseInt(sent_key, 10) }); } sendHead();