diff options
| author | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-04-06 21:49:33 -0400 |
|---|---|---|
| committer | dumpfmprod <dumpfmprod@ubuntu.(none)> | 2010-04-06 21:49:33 -0400 |
| commit | bb6c557b0ec2c154d4da7aa3b291eebe942b9046 (patch) | |
| tree | 06be29104d80a5533ec76eb9693ce52cae802438 /static/test.html | |
| parent | a136333cfc240a9fa7a76e44344dd6dd6eaade96 (diff) | |
Deleted static files, updated css
Diffstat (limited to 'static/test.html')
| -rwxr-xr-x | static/test.html | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/static/test.html b/static/test.html deleted file mode 100755 index 8cffc8d..0000000 --- a/static/test.html +++ /dev/null @@ -1,36 +0,0 @@ -<html> - <head> - <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script> - - <script> - Start = new Date().getTime(); - Timestamp = new Date().getTime(); - - function refresh() { - var onSuccess = function(json) { - Timestamp = json.timestamp; - $('body').prepend('<div>' + (Timestamp - Start) + ": " + json.messages.length + " messages</div>"); - setTimeout(refresh, 1000); - }; - var onError = function(resp, textStatus, errorThrown) { - $('body').prepend('<div style="color: red">' + textStatus + ', ' + errorThrown + '</div>'); - setTimeout(refresh, 1000); - }; - - $.ajax({ - type: 'GET', - timeout: 5000, - url: "/refresh", - data: { 'room': "RoomA", 'since': Timestamp }, - cache: false, - dataType: 'json', - success: onSuccess, - error: onError - }); - } - $(document).ready(refresh); - </script> - </head> - <body> - </body> -</html> |
