2047pp - Workaround for the minifier removing the class definition
parent
705a5d7a1b
commit
c5df6873c0
|
|
@ -1,3 +1,4 @@
|
|||
{ // wrap app in scope to prevent minifier from removing the class definition completely
|
||||
class TwoK {
|
||||
constructor() {
|
||||
this.b = Array(4).fill().map(() => Array(4).fill(0));
|
||||
|
|
@ -138,3 +139,4 @@ if (process.env.HWVERSION==1) {
|
|||
setWatch(() => { res = twok.shift(2); if (res) twok.addDigit(); twok.render(); }, BTN1, {repeat: true});
|
||||
setWatch(() => { res = twok.shift(-2); if (res) twok.addDigit(); twok.render(); }, BTN3, {repeat: true});
|
||||
}
|
||||
}
|
||||
|
|
@ -1,2 +1,3 @@
|
|||
0.01: New app!
|
||||
0.02: Better support for watch themes
|
||||
0.03: Workaround minifier bug
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
"name": "2047pp",
|
||||
"shortName":"2047pp",
|
||||
"icon": "app.png",
|
||||
"version":"0.02",
|
||||
"version":"0.03",
|
||||
"description": "Bangle version of a tile shifting game",
|
||||
"supports" : ["BANGLEJS","BANGLEJS2"],
|
||||
"allow_emulator": true,
|
||||
|
|
|
|||
Loading…
Reference in New Issue