aboutsummaryrefslogtreecommitdiff
path: root/extension/lib/wallet/wxmessaging.js
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-01-10 23:52:58 +0100
committerFlorian Dold <florian.dold@gmail.com>2016-01-10 23:52:58 +0100
commitb3f0b76f7f6a8836a20c908b3a22a34c3a13c9b9 (patch)
tree07c6aef1b87386de726ee89734d46a68edb92908 /extension/lib/wallet/wxmessaging.js
parent473503a246aa7a23539a349710c5549d1d87c147 (diff)
Replace format util with ES6 string templates.
Diffstat (limited to 'extension/lib/wallet/wxmessaging.js')
-rw-r--r--extension/lib/wallet/wxmessaging.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/extension/lib/wallet/wxmessaging.js b/extension/lib/wallet/wxmessaging.js
index c656f2632..7a6f501be 100644
--- a/extension/lib/wallet/wxmessaging.js
+++ b/extension/lib/wallet/wxmessaging.js
@@ -98,7 +98,7 @@ System.register(["./wallet", "./db", "./http"], function(exports_1) {
if (req.type in handlers) {
return handlers[req.type](db, req.detail, onresponse);
}
- console.error(format("Request type {1} unknown, req {0}", JSON.stringify(req), req.type));
+ console.error("Request type " + JSON.stringify(req) + " unknown, req " + req.type);
return false;
});
});