From c6c04b021299735b179ce49a03e59de841ecaeeb Mon Sep 17 00:00:00 2001 From: Ahmed Zamil Date: Sun, 7 Jul 2019 01:47:48 +0300 Subject: [PATCH] Test --- src/DistributedConnection.js | 4 ++-- test/test-debug.html | 2 +- test/test.html | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DistributedConnection.js b/src/DistributedConnection.js index 43ded9b..db8891d 100644 --- a/src/DistributedConnection.js +++ b/src/DistributedConnection.js @@ -29,7 +29,7 @@ class DistributedConnection extends IStore { send(data) { - console.log("Send", data.length); + //console.log("Send", data.length); this.socket.send(data.buffer); } @@ -119,7 +119,7 @@ class DistributedConnection extends IStore { this.socket.onmessage = function (msg) { - console.log("Rec", msg.data.byteLength); + //console.log("Rec", msg.data.byteLength); this.networkBuffer.writeAll(msg.data); diff --git a/test/test-debug.html b/test/test-debug.html index 9c5424b..7b366a5 100644 --- a/test/test-debug.html +++ b/test/test-debug.html @@ -11,7 +11,7 @@ function init() { - var con = new DistributedConnection("ws://localhost:5001/iip/system/iip", "localhost", "ahmed", "password"); + var con = new DistributedConnection("ws://localhost:5001/iip/system/iip", "localhost", "demo", "1234"); Warehouse.put(con, "remote"); con.on("ready", function (d) { diff --git a/test/test.html b/test/test.html index f14a845..0511eb3 100644 --- a/test/test.html +++ b/test/test.html @@ -11,7 +11,7 @@ function init() { - var con = new DistributedConnection("ws://localhost:5001/iip/system/iip", "localhost", "ahmed", "password"); + var con = new DistributedConnection("ws://localhost:5001/iip/system/iip", "localhost", "demo", "1234"); Warehouse.put(con, "remote"); con.on("ready", function (d) {