first pass at a fix for protocol changes - #618

This commit is contained in:
Jon Atkins
2013-10-29 20:29:08 +00:00
parent a8f3a281e7
commit e7fe4bb1dd
3 changed files with 72 additions and 205 deletions

View File

@ -37,8 +37,7 @@ window.RenderDebugTiles.prototype.setState = function(id,state) {
var col = '#f0f';
var fill = '#f0f';
switch(state) {
case 'ok': col='#080'; fill='#080'; break;
case 'ok-delta': col='#0f0'; fill='#0f0'; break;
case 'ok': col='#0f0'; fill='#0f0'; break;
case 'error': col='#f00'; fill='#f00'; break;
case 'cache-fresh': col='#0f0'; fill='#ff0'; break;
case 'cache-stale': col='#f00'; fill='#ff0'; break;