/[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 29 by andrew.betts, Wed Oct 10 22:18:30 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    }
125    
126  poll();  poll();
127    guard();
128    
129    
130  </script>  </script>
131  </body>  </body>

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

  ViewVC Help
Powered by ViewVC 1.1.26