From 5aee0000e41ebe900ce7fd5419d4119618cf67de Mon Sep 17 00:00:00 2001 From: Romain Beaumont Date: Wed, 23 Sep 2015 21:04:54 +0200 Subject: [PATCH] use es6 properties in server.js --- src/server.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/server.js b/src/server.js index 1868729..6b953d0 100644 --- a/src/server.js +++ b/src/server.js @@ -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) {