Merge pull request #544 from ueokande/refactor-background

Refactor background
This commit is contained in:
Shin'ya Ueoka 2019-02-24 22:45:47 +09:00 committed by GitHub
commit dfeb7e7549
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
59 changed files with 502 additions and 476 deletions

View file

@ -40,8 +40,4 @@ const normalizeUrl = (url) => {
return 'http://' + url;
};
const homepageUrls = (value) => {
return value.split('|').map(normalizeUrl);
};
export { searchUrl, normalizeUrl, homepageUrls };
export { searchUrl, normalizeUrl };