more commented code removed from realtime
This commit is contained in:
parent
1b9dd6dc14
commit
f3569d17aa
1 changed files with 0 additions and 9 deletions
|
@ -4,15 +4,6 @@ function start() {
|
|||
|
||||
io.on('connection', function (socket) {
|
||||
|
||||
// this will ping everyone on a map with updates to the map
|
||||
/*redis.on('message', function (channel, message) {
|
||||
console.log(message);
|
||||
var m = JSON.parse(message);
|
||||
var room = 'maps-' + m.mapid;
|
||||
|
||||
socket.emit(room, m);
|
||||
});*/
|
||||
|
||||
// this will ping a new person with awareness of who's already on the map
|
||||
socket.on('updateNewMapperList', function (data) {
|
||||
var existingUser = {
|
||||
|
|
Loading…
Reference in a new issue