yarn run format test.html

pull/8326/head
Niklas Fiekas 2021-03-06 13:34:45 +01:00
parent 7f00d6f521
commit ca4690d3c7
1 changed files with 9 additions and 6 deletions

View File

@ -34,13 +34,16 @@
</thead> </thead>
<tbody></tbody> <tbody></tbody>
</table> </table>
<br><br><hr><br><br> <br /><br />
<hr />
<br /><br />
<table class="storm"> <table class="storm">
<thead> <thead>
<tr>Puzzle Storm</tr> <tr>
Puzzle Storm
</tr>
</thead> </thead>
<tbody> <tbody></tbody>
</tbody>
</table> </table>
<script> <script>
function playSound(set, name) { function playSound(set, name) {
@ -69,7 +72,7 @@
'tournament2nd', 'tournament2nd',
'tournament3rd', 'tournament3rd',
'tournamentOther', 'tournamentOther',
...[...Array(11).keys()].reverse().map(i => 'CountDown' + i) ...[...Array(11).keys()].reverse().map(i => 'CountDown' + i),
]; ];
soundSets.forEach(s => { soundSets.forEach(s => {
@ -93,7 +96,7 @@
[ [
['good', 'lisp/PuzzleStormGood'], ['good', 'lisp/PuzzleStormGood'],
['wrong', 'lisp/Error'], ['wrong', 'lisp/Error'],
['end', 'lisp/PuzzleStormEnd'] ['end', 'lisp/PuzzleStormEnd'],
].forEach(([name, sound]) => { ].forEach(([name, sound]) => {
lichess.sound.loadOggOrMp3(sound, `${lichess.sound.baseUrl}/${sound}`); lichess.sound.loadOggOrMp3(sound, `${lichess.sound.baseUrl}/${sound}`);
var tr = $('<tr>').appendTo($('table.storm tbody')); var tr = $('<tr>').appendTo($('table.storm tbody'));