1
0
mirror of https://github.com/ascribe/onion.git synced 2024-11-15 01:25:17 +01:00

Remove useless code

This commit is contained in:
vrde 2015-06-01 15:37:02 +02:00
parent f50d28be98
commit 68827466ca

View File

@ -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;