diff -r 7d9c576bfaac -r c28048fb63b4 tweetcast/nodejs/client/js/script.js --- a/tweetcast/nodejs/client/js/script.js Mon Oct 17 17:40:58 2011 +0200 +++ b/tweetcast/nodejs/client/js/script.js Tue Oct 18 16:19:08 2011 +0200 @@ -1,10 +1,11 @@ var socket, + paper, tweetData = { "tweetcount" : 0, "position" : -1, "zoomLevel" : 3, "timeLevel" : 2 - } + }, zoomLevels = [ { "description" : "160 tweets per page", @@ -26,7 +27,14 @@ "className" : "full", "displayCount" : 6 } - ]; + ], + colors = { + 'positive' : "#1D973D", + 'reference' : "#C5A62D", + 'negative' : "#CE0A15", + 'question' : "#036AAE" + }, + timeWindow; function tweetToHtml(tweet) { html = '