From 8e928565a71aa56c7661f03847a70c7a5fc9ba0f Mon Sep 17 00:00:00 2001 From: Andrew Pennebaker Date: Thu, 2 Feb 2012 11:43:24 -0500 Subject: [PATCH] simplified README example --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index e0d2d3e..c00a942 100644 --- a/README.md +++ b/README.md @@ -30,12 +30,11 @@ And creating a client to speak to that server is easy too: ``` javascript var rpc = require('jsonrpc2'); -var sys = require('sys'); var client = new rpc.Client(8000, 'localhost'); client.call('add', [1, 2], function(err, result) { - sys.puts('1 + 2 = ' + result); + console.log('1 + 2 = ' + result); }); ```