Use load() instead of Bangle.load() for calculator

see: https://www.espruino.com/ReferenceBANGLEJS2#l_Bangle_load
This commit is contained in:
2026-03-14 13:18:40 -06:00
committed by Tanner
parent 37de23ecfe
commit 22e36c447d
+1 -1
View File
@@ -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,") {