Browse Source

clean up console.log

Hongcai Deng 9 years ago
parent
commit
4ff6b6b6cf
1 changed files with 0 additions and 2 deletions
  1. 0 2
      modules/io.js

+ 0 - 2
modules/io.js

@@ -27,7 +27,6 @@ module.exports = function(io) {
       onlines.delete(socket.shortid);
       onlines.delete(socket.shortid);
       socket.shortid = shortid.generate().toLowerCase(); // generate shortid for a request
       socket.shortid = shortid.generate().toLowerCase(); // generate shortid for a request
       onlines.set(socket.shortid, socket); // add incomming connection to online table
       onlines.set(socket.shortid, socket); // add incomming connection to online table
-      console.log(socket.shortid);
       socket.emit('shortid', socket.shortid);
       socket.emit('shortid', socket.shortid);
     });
     });
 
 
@@ -35,7 +34,6 @@ module.exports = function(io) {
       onlines.delete(socket.shortid);
       onlines.delete(socket.shortid);
       socket.shortid = id;
       socket.shortid = id;
       onlines.set(socket.shortid, socket);
       onlines.set(socket.shortid, socket);
-      console.log(socket.shortid);
       socket.emit('shortid', socket.shortid);
       socket.emit('shortid', socket.shortid);
     })
     })
   });
   });