From 560ceb7828a1911f6227f36180726094f8e7fbfa Mon Sep 17 00:00:00 2001 From: Johan Liesén Date: Thu, 6 Sep 2012 10:33:58 +0200 Subject: Lay out long TLDs on one line --- lib/utils.coffee | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'lib/utils.coffee') 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'] -- cgit v1.2.3