From 2afcb340216d9cc87450ac7caddd07a689b181d8 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sun, 8 Jan 2017 15:57:23 -0500 Subject: [PATCH] Update README.md --- README.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 477f7eeb..e8ec16ce 100644 --- a/README.md +++ b/README.md @@ -353,15 +353,19 @@ EmbarkJS - Communication For Whisper: -```EmbarkJS.Messages.setProvider('whisper')``` +```Javascript + EmbarkJS.Messages.setProvider('whisper') +``` For Orbit: -You'll need to use IPFS from master and run it as: ```ipfs daemon --enable-pubsub-experiment```. +You'll need to use IPFS from master and run it as: ```ipfs daemon --enable-pubsub-experiment``` then set the provider: -```EmbarkJS.Messages.setProvider('orbit', {server: 'localhost', port: 5001})``` +```Javascript + EmbarkJS.Messages.setProvider('orbit', {server: 'localhost', port: 5001}) +``` **listening to messages**