Wrap program in IIFE so variables don't leak
parent
0a4e01fd2c
commit
c734ef8347
|
|
@ -1,3 +1,4 @@
|
|||
(function() {
|
||||
let w = g.getWidth();
|
||||
let h = g.getHeight();
|
||||
let totalWidth, totalHeight;
|
||||
|
|
@ -221,3 +222,4 @@ function touchInText(e, boxItem, boxKey) {
|
|||
Bangle.loadWidgets();
|
||||
require("widget_utils").swipeOn();
|
||||
setup();
|
||||
})();
|
||||
Loading…
Reference in New Issue