From 68827466ca56d3cf83ce06261afd8870ab6aa01c Mon Sep 17 00:00:00 2001 From: vrde Date: Mon, 1 Jun 2015 15:37:02 +0200 Subject: [PATCH] Remove useless code --- js/utils/fetch.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/js/utils/fetch.js b/js/utils/fetch.js index 1922d1bd..7ebf3d1c 100644 --- a/js/utils/fetch.js +++ b/js/utils/fetch.js @@ -52,16 +52,6 @@ class Fetch { return url; } - extractParamsFromUrl(url) { - let re = /\${(\w+)}/g; - let match = null; - let results = []; - while (match = re.exec(url)) { - results.push(match[1]); - } - return results; - } - prepareUrl(url, params) { let newUrl = this.getUrl(url); let re = /\${(\w+)}/g;