Permalink
Browse files

web: remove useless code

  • Loading branch information...
1 parent 319c022 commit 2487555a2d77da4512a773a3759dbcd6849635f3 @billiob billiob committed Jul 24, 2010
Showing with 0 additions and 31 deletions.
  1. +0 −31 amsn2/ui/front_ends/web/static/backend.js
@@ -421,37 +421,6 @@ function myInfoUpdated()
// TODO
}
-
-
-// Comunication functions
-/*
-var ReqStack = [];
-function Send(msg)
-{
- ReqStack.push(msg);
-}
-function Sending()
-{
- try {
- if (ReqStack.length) {
- var xhr;
- var ReqSend = [];
-
- while (ReqStack.length)
- ReqSend.push(ReqStack.shift().join("\t"));
-
- ReqStack = [];
- (xhr=$.post("amsn2.php", {in:ReqSend.join("\n")},
- function(data,textStatus){})).onreadystatechange = function() {
- if (xhr.readyState == 4)
- setTimeout(Sending, 500);
- }
- } else {
- setTimeout(Sending, 500);
- }
- } catch(e) {}
-}
-*/
function Listening() {
$.get("/out", function(data){
setTimeout(Listening, 5000);

0 comments on commit 2487555

Please sign in to comment.