aboutsummaryrefslogtreecommitdiffstats
path: root/httprpc.js
diff options
context:
space:
mode:
authorJeffrey Wilcke <obscuren@users.noreply.github.com>2014-11-15 00:08:47 +0800
committerJeffrey Wilcke <obscuren@users.noreply.github.com>2014-11-15 00:08:47 +0800
commit60198a05b981b59c2b997706c1a728ad3c5b49d7 (patch)
tree467abcae16f09578b35d2c11a55ca528e0d9c5ba /httprpc.js
parentc966a5c17e69fe81f42fa73664f59b5d440f3829 (diff)
parent6b8b1259e2e1a21c19198eb82582a7aafc29b12b (diff)
downloaddexon-60198a05b981b59c2b997706c1a728ad3c5b49d7.tar
dexon-60198a05b981b59c2b997706c1a728ad3c5b49d7.tar.gz
dexon-60198a05b981b59c2b997706c1a728ad3c5b49d7.tar.bz2
dexon-60198a05b981b59c2b997706c1a728ad3c5b49d7.tar.lz
dexon-60198a05b981b59c2b997706c1a728ad3c5b49d7.tar.xz
dexon-60198a05b981b59c2b997706c1a728ad3c5b49d7.tar.zst
dexon-60198a05b981b59c2b997706c1a728ad3c5b49d7.zip
Merge pull request #11 from ethereum/revert-6-master
Revert "Run JSHint on all code using Travis CI"
Diffstat (limited to 'httprpc.js')
-rw-r--r--httprpc.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/httprpc.js b/httprpc.js
index f7f870d9d..085b4693d 100644
--- a/httprpc.js
+++ b/httprpc.js
@@ -10,8 +10,8 @@
method: object.call,
params: object.args,
id: object._id
- };
- }
+ }
+ };
function formatJsonRpcMessage(message) {
var object = JSON.parse(message);
@@ -20,7 +20,7 @@
_id: object.id,
data: object.result
};
- }
+ };
HttpRpcProvider.prototype.sendRequest = function (payload, cb) {
var data = formatJsonRpcObject(payload);
@@ -32,7 +32,7 @@
if (request.readyState === 4 && cb) {
cb(request);
}
- };
+ }
};
HttpRpcProvider.prototype.send = function (payload) {