add check sounds - #594

pull/672/head
Thibault Duplessis 2015-06-29 12:19:15 +02:00
parent c8cd487d1e
commit 89911c38ea
11 changed files with 7 additions and 2 deletions

View File

@ -1057,7 +1057,8 @@ lichess.storage = {
tournament2nd: 'Tournament2nd',
tournament3rd: 'Tournament3rd',
tournamentOther: 'TournamentOther',
berserk: 'Berserk'
berserk: 'Berserk',
check: 'Check'
};
for(var i = 0; i <= 10; i++) names['countDown' + i] = 'CountDown' + i;

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
../Silence.mp3

View File

@ -0,0 +1 @@
../Silence.ogg

View File

@ -41,7 +41,8 @@
tournament2nd: 'Tournament2nd',
tournament3rd: 'Tournament3rd',
tournamentOther: 'TournamentOther',
berserk: 'Berserk'
berserk: 'Berserk',
check: 'Check'
};
for(var i = 0; i <= 10; i++) soundNames['countDown' + i] = 'CountDown' + i;
$.each(soundSets, function (i, soundSet) {

View File

@ -180,6 +180,7 @@ module.exports = function(opts) {
},
check: o.check
});
if (o.check) $.sound.check();
}
if (o.clock) {
var c = o.clock