/[meteor]/googlecode.com/svn/trunk/public_html/poll.html
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /googlecode.com/svn/trunk/public_html/poll.html

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 26 by andrew.betts, Mon Jun 25 10:37:57 2007 UTC revision 31 by andrew.betts, Wed Oct 10 22:25:57 2007 UTC
# Line 114  function ptimeout() { Line 114  function ptimeout() {
114          setTimeout(poll, x);          setTimeout(poll, x);
115  }  }
116    
117    function guard() {
118            var url = get("subsurl");
119            if (typeof(url)=="undefined") {
120                    pollreq.abort();
121                    delete pollreq;
122                    clearTimeout(polltimer);
123            }
124            setTimeout('guard()', 1000);
125    }
126    
127  poll();  poll();
128    guard();
129    
130    
131  </script>  </script>
132  </body>  </body>

Legend:
Removed from v.26  
changed lines
  Added in v.31

  ViewVC Help
Powered by ViewVC 1.1.26