This commit is contained in:
Thibault Duplessis 2012-09-15 21:26:58 +02:00
parent 7418114497
commit 496d323644
3 changed files with 1 additions and 12 deletions

View file

@ -41,7 +41,7 @@ var lichess = {
onProduction: /.+\.lichess\.org/.test(document.domain),
socketUrl: document.domain + ":9000"
};
lichess.socketDefaults.options.debug = !lichess.onProduction;
//lichess.socketDefaults.options.debug = !lichess.onProduction;
$(function() {
@ -296,7 +296,6 @@ $.fn.orNot = function() {
};
$.trans = function(text) {
//if (!lichess_translations[text]) console.debug(text);
return lichess_translations[text] ? lichess_translations[text] : text;
}

View file

@ -15,12 +15,6 @@ $.widget("lichess.game", {
self.options.socketUrl = self.element.data('socket-url');
self.socketAckTimeout;
//setInterval(function() {
//$('a.view_tournament').each(function() {
//location.href = $(this).attr("href");
//});
//}, 3000);
if (self.options.game.started) {
self.indicateTurn();
self.initSquaresAndPieces();

4
todo
View file

@ -40,7 +40,3 @@ chat icons (k) (K)
blind accessible
home anon replace chat with mini boards
make hand and finisher actors to avoid racing conditions
tournament scroll chat
tournament fix clock display in infoBox
tournament no matching
tournament chat encoding