/[meteor]/googlecode.com/svn/trunk/public_html/stream.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/stream.html

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

revision 61 by andrew.betts, Thu Apr 17 20:03:54 2008 UTC revision 62 by andrew.betts, Thu Nov 27 00:33:21 2008 UTC
# Line 14  function abort() { Line 14  function abort() {
14  }  }
15    
16  function newXmlHttp() {  function newXmlHttp() {
17      try { return new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {}          var xhr = null;
18      try { return new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {}          try { xhr = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) {
19      try { return new XMLHttpRequest(); } catch(e) {}                  try { xhr = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e) {
20      return null;                          try { xhr = new XMLHttpRequest(); } catch(e) { return false }
21                    }
22            }
23            return xhr;
24  }  }
25    
26  function startstream() {  function startstream() {
# Line 39  function startstream() { Line 42  function startstream() {
42                  }                  }
43          }          }
44          streamreq.send(null);          streamreq.send(null);
45            parent.Meteor.lastrequest = parent.Meteor.time();
46  }  }
47    
48  function extractEvents(responsestr) {  function extractEvents(responsestr) {
# Line 66  function extractEvents(responsestr) { Line 70  function extractEvents(responsestr) {
70  }  }
71    
72    
   
73  startstream();  startstream();
74  </script>  </script>
75  </body>  </body>

Legend:
Removed from v.61  
changed lines
  Added in v.62

  ViewVC Help
Powered by ViewVC 1.1.26