diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-09-23 18:53:19 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-09-23 18:53:19 +0200 |
commit | 667c055fc25c3d1de6ac6d82db2b0d90f3414672 (patch) | |
tree | 6e928962b03ba05845b150e9cd5e14b417306ee2 /content_scripts/notify.ts | |
parent | c590e03aea9227cabb91c9e5426a92d2b3cb3bc3 (diff) | |
download | wallet-core-667c055fc25c3d1de6ac6d82db2b0d90f3414672.tar.xz |
remove some logging
Diffstat (limited to 'content_scripts/notify.ts')
-rw-r--r-- | content_scripts/notify.ts | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/content_scripts/notify.ts b/content_scripts/notify.ts index 6037aa7c8..4d4978817 100644 --- a/content_scripts/notify.ts +++ b/content_scripts/notify.ts @@ -126,7 +126,6 @@ namespace TalerNotify { }); addHandler("taler-create-reserve", (msg: any) => { - console.log("taler-create-reserve with " + JSON.stringify(msg)); let params = { amount: JSON.stringify(msg.amount), callback_url: URI(msg.callback_url) @@ -140,7 +139,6 @@ namespace TalerNotify { }); addHandler("taler-confirm-reserve", (msg: any, sendResponse: any) => { - console.log("taler-confirm-reserve with " + JSON.stringify(msg)); let walletMsg = { type: "confirm-reserve", detail: { @@ -148,14 +146,12 @@ namespace TalerNotify { } }; chrome.runtime.sendMessage(walletMsg, (resp) => { - console.log("confirm reserve done"); sendResponse(); }); }); addHandler("taler-confirm-contract", (msg: any) => { - console.log("got msg", msg); if (!msg.contract_wrapper) { console.error("contract wrapper missing"); return; @@ -214,7 +210,6 @@ namespace TalerNotify { }); addHandler("taler-get-payment", (msg: any, sendResponse: any) => { - console.log("got taler-get-payment in content page"); const walletMsg = { type: "execute-payment", detail: { @@ -223,13 +218,8 @@ namespace TalerNotify { }; chrome.runtime.sendMessage(walletMsg, (resp) => { - console.log("got resp"); - console.dir(resp); if (!resp.success) { - console.log("got event detail:"); - console.dir(msg); if (msg.offering_url) { - console.log("offering url", msg.offering_url); window.location.href = msg.offering_url; } else { console.error("execute-payment failed"); @@ -243,7 +233,6 @@ namespace TalerNotify { // We have the details for then payment, the merchant page // is responsible to give it to the merchant. - sendResponse({ H_contract: msg.H_contract, contract: resp.contract, |