From c46dde75ee8e82cc1672b211bad2b29370b930d7 Mon Sep 17 00:00:00 2001 From: michielmulders Date: Sat, 30 Sep 2017 19:55:06 +0200 Subject: [PATCH] small fix: removed ';' --- docs/source/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/usage.rst b/docs/source/usage.rst index 3b65842..a1f79ce 100644 --- a/docs/source/usage.rst +++ b/docs/source/usage.rst @@ -469,9 +469,9 @@ All transactions are printed to the console. To use this piece of code, you will .. code-block:: js - const WebSocket = require('ws'); + const WebSocket = require('ws') - const ws = new WebSocket('ws://localhost:9985/api/v1/streams/valid_transactions'); + const ws = new WebSocket('ws://localhost:9985/api/v1/streams/valid_transactions') ws.on('open', () => { console.log("CONNECTED")