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

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

revision 27 by andrew.betts, Wed Aug 1 17:38:00 2007 UTC revision 29 by andrew.betts, Wed Oct 10 22:18:30 2007 UTC
# Line 90  Meteor.reset = function(ifr) { Line 90  Meteor.reset = function(ifr) {
90          this.instances[instid].reset();          this.instances[instid].reset();
91  }  }
92    
93    window.onunload = function() {
94            for (var i in Meteor.instances) {
95                    if (Meteor.instances[i].transferDoc) delete Meteor.instances[i].transferDoc;
96            }
97    }
98    
99    
100  Meteor.prototype.joinChannel = function(channelname, backtrack) {  Meteor.prototype.joinChannel = function(channelname, backtrack) {
101          if (typeof(this.channels[channelname]) != "undefined") throw "Cannot join channel "+channelname+": already subscribed";          if (typeof(this.channels[channelname]) != "undefined") throw "Cannot join channel "+channelname+": already subscribed";
102          this.channels[channelname] = {backtrack:backtrack, lastmsgreceived:0};          this.channels[channelname] = {backtrack:backtrack, lastmsgreceived:0};

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

  ViewVC Help
Powered by ViewVC 1.1.26