aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Liesén2012-09-06 10:33:58 +0200
committerJohan Liesén2012-09-06 10:45:13 +0200
commit560ceb7828a1911f6227f36180726094f8e7fbfa (patch)
tree1a06f55fc5435d17daad89db015bd7241de917e6
parent5901cee9b9b7df3ad07e3cf895bf74fb65b276cc (diff)
downloadvimium-560ceb7828a1911f6227f36180726094f8e7fbfa.tar.bz2
Lay out long TLDs on one line
-rw-r--r--lib/utils.coffee15
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/utils.coffee b/lib/utils.coffee
index c5bfcc26..00dce5b4 100644
--- a/lib/utils.coffee
+++ b/lib/utils.coffee
@@ -52,19 +52,8 @@ Utils =
'(?::(\\d+))?$' # port number (optional) => \4
)
- # Official ASCII TLDs that are longer than 3 characters
- longTlds = [
- 'arpa'
- 'asia'
- 'coop'
- 'info'
- 'jobs'
- 'local'
- 'mobi'
- 'museum'
- 'name'
- 'onion' # Inofficial .onion TLD used by TOR
- ]
+ # Official ASCII TLDs that are longer than 3 characters + inofficial .onion TLD used by TOR
+ longTlds = ['arpa', 'asia', 'coop', 'info', 'jobs', 'local', 'mobi', 'museum', 'name', 'onion']
specialHostNames = ['localhost']