diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-06 15:39:22 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-06 15:39:22 +0100 |
commit | abf15268acafe588191fffb7ca6ddb963244bb0f (patch) | |
tree | 0f582386d09eccd550c414e62337a7f630b2ddb1 /extension/content_scripts | |
parent | 2f8aa00595ab40292019ca739041296c84703899 (diff) | |
download | wallet-core-abf15268acafe588191fffb7ca6ddb963244bb0f.tar.xz |
Refactor wallet into logic and extension interface.
Diffstat (limited to 'extension/content_scripts')
-rw-r--r-- | extension/content_scripts/notify.js | 2 | ||||
-rw-r--r-- | extension/content_scripts/notify.ts | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/extension/content_scripts/notify.js b/extension/content_scripts/notify.js index 57d32135d..47c839799 100644 --- a/extension/content_scripts/notify.js +++ b/extension/content_scripts/notify.js @@ -50,7 +50,7 @@ document.addEventListener("taler-create-reserve", function (e) { let uri = URI(chrome.extension.getURL("pages/confirm-create-reserve.html")); document.location.href = uri.query(params).href(); }); -document.addEventListener('taler-contract', function (e) { +document.addEventListener("taler-contract", function (e) { // XXX: the merchant should just give us the parsed data ... let offer = JSON.parse(e.detail); let uri = URI(chrome.extension.getURL("pages/confirm-contract.html")); diff --git a/extension/content_scripts/notify.ts b/extension/content_scripts/notify.ts index a75ab09cf..e2ffaefa9 100644 --- a/extension/content_scripts/notify.ts +++ b/extension/content_scripts/notify.ts @@ -57,7 +57,7 @@ document.addEventListener("taler-create-reserve", function(e: CustomEvent) { document.location.href = uri.query(params).href(); }); -document.addEventListener('taler-contract', function(e: CustomEvent) { +document.addEventListener("taler-contract", function(e: CustomEvent) { // XXX: the merchant should just give us the parsed data ... let offer = JSON.parse(e.detail); let uri = URI(chrome.extension.getURL("pages/confirm-contract.html")); |