Skip to content

Commit

Permalink
url: remove unused global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis authored and isaacs committed Jun 4, 2013
1 parent f28f67c commit 414a909
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lib/url.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 414a909

Please sign in to comment.