From 94d111a94533c0c31231642e8ffe4fbd4ce30096 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 29 May 2017 18:27:50 +0200 Subject: lint for unused variables, fix query bug detected by this --- src/webex/notify.ts | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/webex/notify.ts') 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; -- cgit v1.2.3