From 414a909d01495eed2f6a411965c8984758322664 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Tue, 21 May 2013 23:04:58 +0200 Subject: url: remove unused global variable --- lib/url.js | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/lib/url.js b/lib/url.js index fc8f77d1b..bacf201dd 100644 --- a/lib/url.js +++ b/lib/url.js @@ -79,18 +79,6 @@ var protocolPattern = /^([a-z0-9.+-]+:)/i, 'javascript': true, 'javascript:': true }, - // protocols that always have a path component. - pathedProtocol = { - 'http': true, - 'https': true, - 'ftp': true, - 'gopher': true, - 'file': true, - 'http:': true, - 'ftp:': true, - 'gopher:': true, - 'file:': true - }, // protocols that always contain a // bit. slashedProtocol = { 'http': true, -- cgit v1.2.1