Skip to content

Commit 4deee7c

Browse files
fix: restore missing sleep(ms) method signature
The showConfirm() insertion accidentally consumed the `sleep(ms) {` method header, leaving its body as a dangling statement (SyntaxError). This caused the entire RaffleApp class to fail to parse and the app to be non-functional.
1 parent 514cf3f commit 4deee7c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

js/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1111,6 +1111,9 @@ Generado por Generador de Rifas Profesional
11111111
document.addEventListener('keydown', onKey);
11121112
});
11131113
}
1114+
1115+
// ===== UTILITIES =====
1116+
sleep(ms) {
11141117
return new Promise(resolve => setTimeout(resolve, ms));
11151118
}
11161119

0 commit comments

Comments
 (0)