From 362104ec0940f36f079d00df5f3ccd349980d946 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 11 Dec 2017 14:49:41 +0100 Subject: [PATCH] lint compliance --- www/common/outer/chainpad-netflux-worker.js | 4 +--- www/common/sframe-common-outer.js | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/www/common/outer/chainpad-netflux-worker.js b/www/common/outer/chainpad-netflux-worker.js index c5d22c96e..a60d73b3e 100644 --- a/www/common/outer/chainpad-netflux-worker.js +++ b/www/common/outer/chainpad-netflux-worker.js @@ -187,10 +187,8 @@ define([], function () { expire: expire, password: password }; - var msg = ['GET_HISTORY', wc.id]; + var msg = ['GET_HISTORY', wc.id, cfg]; // Add the validateKey if we are the channel creator and we have a validateKey - msg.push(validateKey); - msg.push(lastKnownHash); if (hk) { network.sendto(hk, JSON.stringify(msg)); } } else { onRdy(); diff --git a/www/common/sframe-common-outer.js b/www/common/sframe-common-outer.js index 74c2f56c9..9fb10cc92 100644 --- a/www/common/sframe-common-outer.js +++ b/www/common/sframe-common-outer.js @@ -634,7 +634,7 @@ define([ cb(); }, rtConfig); return; - }; + } // Start realtime outside the iframe and callback console.log(data); startRealtime(rtConfig);