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

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

revision 9 by andrew.betts, Fri Dec 8 16:52:58 2006 UTC revision 10 by andrew.betts, Thu Dec 14 10:45:43 2006 UTC
# Line 210  Meteor.prototype.pollmode = function() { Line 210  Meteor.prototype.pollmode = function() {
210          this.lastpingtime = false;          this.lastpingtime = false;
211  }  }
212    
213  Meteor.prototype.process = function(id, data, timestamp) {  Meteor.prototype.process = function(id, data) {
214          if (id > this.lastmsgreceived) {          if (id > this.lastmsgreceived) {
215                  this.callback_process(data);                  this.callback_process(data);
216                  if (id != -1) this.lastmsgreceived = id;                  if (id != -1) this.lastmsgreceived = id;
# Line 224  Meteor.prototype.process = function(id, Line 224  Meteor.prototype.process = function(id,
224                  this.ping();                  this.ping();
225          }          }
226          this.setstatus(5);          this.setstatus(5);
         if (!isNaN(timestamp)) {  
                 Meteor.setServerTime(timestamp);  
         }  
227  }  }
228    
229  Meteor.prototype.ping = function() {  Meteor.prototype.ping = function() {

Legend:
Removed from v.9  
changed lines
  Added in v.10

  ViewVC Help
Powered by ViewVC 1.1.26