node-ejs-renderer/node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js

9 lines
271 B
JavaScript
Raw Normal View History

2024-06-09 13:55:01 -04:00
"use strict";
/* istanbul ignore next */
function setAttributesWithoutAttributes(styleElement, attributes) {
Object.keys(attributes).forEach(function (key) {
styleElement.setAttribute(key, attributes[key]);
});
}
module.exports = setAttributesWithoutAttributes;