From 6f6b22d59ac492bf76e3280a8118fddfabf253c8 Mon Sep 17 00:00:00 2001 From: Steve Purcell Date: Fri, 13 Mar 2015 08:09:24 +0000 Subject: [PATCH] Handle homepages for packages hosted on gitlab --- html/js/melpa.js | 1 + 1 file changed, 1 insertion(+) diff --git a/html/js/melpa.js b/html/js/melpa.js index 952b5f76..d0c6a666 100644 --- a/html/js/melpa.js +++ b/html/js/melpa.js @@ -111,6 +111,7 @@ }; return (urlMatch(/(bitbucket\.org\/[^\/]+\/[^\/\?]+)/, "https://") || urlMatch(/(gitorious\.org\/[^\/]+\/[^.]+)/, "https://") || + urlMatch(/(gitlab\.com\/[^\/]+\/[^.]+)/, "https://") || urlMatch(/^lp:(.*)/, "https://launchpad.net/") || urlMatch(/^(https?:\/\/code\.google\.com\/p\/[^\/]+\/)/) || urlMatch(/^(https?:\/\/[^.]+\.googlecode\.com\/)/));