Clean classes and repository

This commit is contained in:
Shin'ya Ueoka 2019-02-24 22:20:37 +09:00
parent a880d5684b
commit f707f4da75
10 changed files with 279 additions and 251 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 };