105 |
// Join the demo channel and get last five events, then stream |
// Join the demo channel and get last five events, then stream |
106 |
Meteor.joinChannel( channel, 5 ); |
Meteor.joinChannel( channel, 5 ); |
107 |
Meteor.mode = 'stream'; |
Meteor.mode = 'stream'; |
108 |
|
// Meteor.mode = 'iframe'; |
109 |
|
// Meteor.mode = 'longpoll'; |
110 |
|
// Meteor.mode = 'xhrinteractive'; |
111 |
|
// Meteor.mode = 'xhrinteractive'; |
112 |
|
Meteor.debugmode = 1; |
113 |
|
|
114 |
// Start streaming! |
// Start streaming! |
115 |
Meteor.connect(); |
Meteor.connect(); |