Use load() instead of Bangle.load() for calculator
see: https://www.espruino.com/ReferenceBANGLEJS2#l_Bangle_load
This commit is contained in:
@@ -367,7 +367,7 @@
|
|||||||
menu = null;
|
menu = null;
|
||||||
require("Storage").writeJSON("menu.json", menu);
|
require("Storage").writeJSON("menu.json", menu);
|
||||||
} else if (menuCommand == "commands,util,calc,") {
|
} else if (menuCommand == "commands,util,calc,") {
|
||||||
Bangle.load("calculator.app.js");
|
load("calculator.app.js");
|
||||||
} else if (menuCommand == "states,stop watch,start1,") {
|
} else if (menuCommand == "states,stop watch,start1,") {
|
||||||
startSW1();
|
startSW1();
|
||||||
} else if (menuCommand == "states,stop watch,start2,") {
|
} else if (menuCommand == "states,stop watch,start2,") {
|
||||||
|
|||||||
Reference in New Issue
Block a user