index.js
// convenience function to log server messages on the client

convenience function to log server messages on the client
convenience function to log server messages on the client
function log() {
        var array = ['Message from server:'];
        array.push.apply(array, arguments);
        socket.emit('log', array);
      }
function log ( ) { var array = [ 'Message from server:' ] ; array . push . apply ( array , arguments ) ; socket . emit ( 'log' , array ) ; }
convenience function to log server messages on the client
convenience function to log server messages on the client