mirror of
https://github.com/arthur-pbty/portfolio2023.git
synced 2026-06-05 00:06:20 +02:00
9 lines
271 B
JavaScript
9 lines
271 B
JavaScript
"use strict";
|
|
|
|
/* istanbul ignore next */
|
|
function setAttributesWithoutAttributes(styleElement, attributes) {
|
|
Object.keys(attributes).forEach(function (key) {
|
|
styleElement.setAttribute(key, attributes[key]);
|
|
});
|
|
}
|
|
module.exports = setAttributesWithoutAttributes; |