diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2013-05-21 23:04:58 +0200 |
---|---|---|
committer | isaacs <i@izs.me> | 2013-06-04 11:43:42 -0700 |
commit | 414a909d01495eed2f6a411965c8984758322664 (patch) | |
tree | 4c6203ae256b41e4b8db936376b5661fc441969a /lib | |
parent | f28f67cf759258492537495c016b2b01d2b0f9de (diff) | |
download | node-414a909d01495eed2f6a411965c8984758322664.tar.gz |
url: remove unused global variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/url.js | 12 |
1 files changed, 0 insertions, 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, |