Remove commented-out dead code
This commit is contained in:
parent
b8c95646dc
commit
6127d0f25a
1 changed files with 0 additions and 19 deletions
|
@ -7,30 +7,11 @@ import dialog from GUI.Screen;
|
|||
import * as Dom from UnitJS.Dom;
|
||||
|
||||
var list = ListSelector.make('games', showGame);
|
||||
//initMessageHandlers();
|
||||
|
||||
return {
|
||||
refresh: refresh
|
||||
};
|
||||
|
||||
/*
|
||||
function entry(key, config) {
|
||||
return {
|
||||
key: key,
|
||||
vs: config.vs,
|
||||
yourTurn: config.yourTurn,
|
||||
date: config.date
|
||||
};
|
||||
}
|
||||
|
||||
function initMessageHandlers() {
|
||||
Messaging.addEventListener(["Game"], function(o) {
|
||||
var sessionKey = Session.getKey();
|
||||
Games.entries.insert(o.state.gameID, Games.entry(o.state));
|
||||
});
|
||||
}
|
||||
*/
|
||||
|
||||
function showGame(game) {
|
||||
var liContent;
|
||||
if(game.key.match(/^Player#/)) { // Game proposals use the ID of the opponent as ID
|
||||
|
|
Loading…
Reference in a new issue