use es6 properties in server.js

This commit is contained in:
Romain Beaumont 2015-09-23 21:04:54 +02:00
parent 68c589a3b0
commit 5aee0000e4

View file

@ -5,13 +5,13 @@ var states = require('./transforms/serializer').states;
class Server extends EventEmitter
{
socketServer=null;
cipher=null;
decipher=null;
clients={};
constructor() {
super();
this.socketServer = null;
this.cipher = null;
this.decipher = null;
this.clients = {};
}
listen(port, host) {