mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
13 lines
200 B
JavaScript
13 lines
200 B
JavaScript
var count = 0;
|
|
function timerFunction() {
|
|
if (++count == 30) {
|
|
close();
|
|
postMessage("ready");
|
|
while (true) { }
|
|
}
|
|
}
|
|
|
|
for (var i = 0; i < 10; i++) {
|
|
setInterval(timerFunction, 500);
|
|
}
|