summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-05-21 23:04:58 +0200
committerisaacs <i@izs.me>2013-06-04 11:43:42 -0700
commit414a909d01495eed2f6a411965c8984758322664 (patch)
tree4c6203ae256b41e4b8db936376b5661fc441969a
parentf28f67cf759258492537495c016b2b01d2b0f9de (diff)
downloadnode-new-414a909d01495eed2f6a411965c8984758322664.tar.gz
url: remove unused global variable
-rw-r--r--lib/url.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/url.js b/lib/url.js
index fc8f77d1bd..bacf201dd6 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,