remove broken debug code - this didn't do anything useful after the render rewrite

This commit is contained in:
Jon Atkins
2013-09-12 03:06:16 +01:00
parent d9448aac34
commit 9579ca8377

View File

@ -16,33 +16,7 @@ window.debug.printStackTrace = function() {
return e.stack; return e.stack;
} }
window.debug.clearPortals = function() {
for(var i = 0; i < portalsLayers.length; i++)
portalsLayers[i].clearLayers();
}
window.debug.clearLinks = function() {
linksLayer.clearLayers();
}
window.debug.clearFields = function() {
fieldsLayer.clearLayers();
}
window.debug.getFields = function() {
return fields;
}
window.debug.forceSync = function() {
localStorage.clear();
window.playersToResolve = [];
window.playersInResolving = [];
debug.clearFields();
debug.clearLinks();
debug.clearPortals();
updateGameScore();
requestData();
}
window.debug.console = function() { window.debug.console = function() {
$('#debugconsole').text(); $('#debugconsole').text();