aboutsummaryrefslogtreecommitdiff
path: root/src/webex/notify.ts
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-05-29 18:27:50 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-05-29 18:27:50 +0200
commit94d111a94533c0c31231642e8ffe4fbd4ce30096 (patch)
tree79c9f8ec3754699f8a135630f1ab6ee9be8019e6 /src/webex/notify.ts
parentb5c90d12219ca3a0df173ddf085d2353831a8ef6 (diff)
downloadwallet-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.ts10
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>;