url -> assetUrl

This commit is contained in:
Joscha Feth 2017-06-28 13:37:26 +02:00 committed by GitHub
parent a9d88cf2f3
commit be7625a7d5

View File

@ -30,8 +30,8 @@ export const urlsFromAssets = assets => {
if (!Array.isArray(assetList)) {
assetList = [assetList];
}
assetList.filter(url => re.exec(url)[1] !== 'map').forEach(url => {
urls[re.exec(url)[1]].push(url);
assetList.filter(assetUrl => re.exec(assetUrl)[1] !== 'map').forEach(assetUrl => {
urls[re.exec(assetUrl)[1]].push(assetUrl);
});
});