url: remove unused global variable

archived-io.js-v0.10
Ben Noordhuis 2013-05-21 23:04:58 +02:00 committed by isaacs
parent f28f67cf75
commit 414a909d01
1 changed files with 0 additions and 12 deletions

View File

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