Solved conflicts.

This commit is contained in:
arturoacevedob
2017-11-28 17:16:35 -06:00
parent 3abdbe3b47
commit 0141106fea
9 changed files with 11 additions and 8 deletions

View File

@@ -79,7 +79,10 @@
var urls = items.map(item => 'images/svg/' + item + '.svg');
var icons;
Promise.all(urls.map(url => fetch(url).then(res => res.text()))).then(all => {
icons = all;
icons = all.map(icon => {
return icon + '<b>' + icon.match(/aria-label\=\"(.*?)\"/)[1] + '</b>';
});
render(range.value);
});