mirror of https://github.com/espruino/BangleApps
IDK how to use promises properly
parent
959fa4183c
commit
463c3fec23
|
@ -6,3 +6,4 @@
|
||||||
1.04: decreased vibration strength
|
1.04: decreased vibration strength
|
||||||
1.05: toggled the acceleration handler to prevent infinite buzz loop
|
1.05: toggled the acceleration handler to prevent infinite buzz loop
|
||||||
1.06: increased vibration again
|
1.06: increased vibration again
|
||||||
|
1.07: IDK how to use promises properly
|
||||||
|
|
|
@ -132,7 +132,7 @@ function random (max) {
|
||||||
function vibrate() {
|
function vibrate() {
|
||||||
|
|
||||||
Bangle.on ('accel', voidFn);
|
Bangle.on ('accel', voidFn);
|
||||||
Bangle.buzz (200, 1).then(
|
Bangle.buzz (200, 1).then ((value) =>
|
||||||
|
|
||||||
Bangle.on ('accel', accelHandler)
|
Bangle.on ('accel', accelHandler)
|
||||||
);
|
);
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ "id": "multidice",
|
{ "id": "multidice",
|
||||||
"name": "multiple dice roller",
|
"name": "multiple dice roller",
|
||||||
"shortName":"multidice",
|
"shortName":"multidice",
|
||||||
"version":"1.06",
|
"version":"1.07",
|
||||||
"description": "roll anywhere from 1-8 dice at the same time",
|
"description": "roll anywhere from 1-8 dice at the same time",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool,game",
|
"tags": "tool,game",
|
||||||
|
|
Loading…
Reference in New Issue