Remove line breaks in arrays

This commit is contained in:
Albin Larsson
2018-06-13 22:18:57 +02:00
parent 99ac8d4c52
commit 6bff6b317d
12 changed files with 30 additions and 135 deletions

View File

@ -42,10 +42,7 @@ export function setAttributes(element, attributes) {
return;
}
Object.entries(attributes).forEach(([
key,
value,
]) => {
Object.entries(attributes).forEach(([key, value]) => {
element.setAttribute(key, value);
});
}