diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-05-29 18:27:50 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-05-29 18:27:50 +0200 |
commit | 94d111a94533c0c31231642e8ffe4fbd4ce30096 (patch) | |
tree | 79c9f8ec3754699f8a135630f1ab6ee9be8019e6 /src/webex/notify.ts | |
parent | b5c90d12219ca3a0df173ddf085d2353831a8ef6 (diff) | |
download | wallet-core-94d111a94533c0c31231642e8ffe4fbd4ce30096.tar.xz |
lint for unused variables, fix query bug detected by this
Diffstat (limited to 'src/webex/notify.ts')
-rw-r--r-- | src/webex/notify.ts | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/webex/notify.ts b/src/webex/notify.ts index c743240a4..a7796cc8f 100644 --- a/src/webex/notify.ts +++ b/src/webex/notify.ts @@ -27,12 +27,8 @@ */ import URI = require("urijs"); -import * as wxApi from "./wxApi"; - declare var cloneInto: any; -const PROTOCOL_VERSION = 1; - let logVerbose: boolean = false; try { logVerbose = !!localStorage.getItem("taler-log-verbose"); @@ -45,12 +41,6 @@ if (document.documentElement.getAttribute("data-taler-nojs")) { } -function subst(url: string, H_contract: string) { - url = url.replace("${H_contract}", H_contract); - url = url.replace("${$}", "$"); - return url; -} - interface Handler { type: string; listener: (e: CustomEvent) => void|Promise<void>; |