aboutsummaryrefslogtreecommitdiffstats
path: root/httprpc.js
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2014-11-03 10:56:45 +0800
committerCorey Farwell <coreyf@rwell.org>2014-11-03 10:56:45 +0800
commit51d79f3e3b4876dd3b8925e8f10cc2f10aa16ff9 (patch)
tree5e67819aa6aa3de166c052abbf82edcdbf64084a /httprpc.js
parentb773e5749077447718b12dc815a4794b0dc699b3 (diff)
downloadgo-tangerine-51d79f3e3b4876dd3b8925e8f10cc2f10aa16ff9.tar
go-tangerine-51d79f3e3b4876dd3b8925e8f10cc2f10aa16ff9.tar.gz
go-tangerine-51d79f3e3b4876dd3b8925e8f10cc2f10aa16ff9.tar.bz2
go-tangerine-51d79f3e3b4876dd3b8925e8f10cc2f10aa16ff9.tar.lz
go-tangerine-51d79f3e3b4876dd3b8925e8f10cc2f10aa16ff9.tar.xz
go-tangerine-51d79f3e3b4876dd3b8925e8f10cc2f10aa16ff9.tar.zst
go-tangerine-51d79f3e3b4876dd3b8925e8f10cc2f10aa16ff9.zip
Fix JSHint errors
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 085b4693d..f7f870d9d 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) {