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; |