From b4aa9982ad856b518108b2bf535f85fad8cdafa2 Mon Sep 17 00:00:00 2001 From: Gabe Appleton Date: Mon, 27 Jul 2015 10:45:37 -0700 Subject: [PATCH] Prep for feature request #10 --- index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/index.html b/index.html index fc786eb..b57202a 100644 --- a/index.html +++ b/index.html @@ -293,6 +293,7 @@ function onOpen(evt) { writeToScreen("CONNECTED"); doSend({"op":"unconfirmed_sub"}); + doSent({"op":"blocks_sub"}); } function onClose(evt) { writeToScreen("DISCONNECTED"); } @@ -345,6 +346,9 @@ } }); } + else if (msg.op == "block") { + ; + } // flush the buffer if not empty if (! paused && linksBuffer.length > 0) { for(var i=0;i