diff options
author | Florian Dold <florian.dold@gmail.com> | 2016-01-24 02:29:13 +0100 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2016-01-24 02:29:13 +0100 |
commit | b8627813be56e04c18baf38885f3a3dc0fb7496c (patch) | |
tree | e2db304d381cc343021a8af8c94b58e3554fbcc5 /extension/content_scripts/notify.ts | |
parent | 1a0a302ad9bfd49ff452bf874e04b7623e23cb5f (diff) |
Replace handlebars with mithril, hooks for i18n.
The wallet is now a single page application.
Diffstat (limited to 'extension/content_scripts/notify.ts')
-rw-r--r-- | extension/content_scripts/notify.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/extension/content_scripts/notify.ts b/extension/content_scripts/notify.ts index 88f84f01b..f910707dd 100644 --- a/extension/content_scripts/notify.ts +++ b/extension/content_scripts/notify.ts @@ -21,6 +21,8 @@ "use strict"; +console.log("Taler injected"); + document.addEventListener("taler-probe", function(e) { let evt = new Event("taler-wallet-present"); document.dispatchEvent(evt); @@ -99,4 +101,4 @@ document.addEventListener('taler-execute-payment', function(e: CustomEvent) { document.dispatchEvent(new CustomEvent("taler-payment-result", {detail: detail})); }; }); -});
\ No newline at end of file +}); |