Merge pull request #544 from ueokande/refactor-background
Refactor background
This commit is contained in:
commit
dfeb7e7549
59 changed files with 502 additions and 476 deletions
|
@ -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 };
|
||||
|
|
Reference in a new issue