amis-rpc-design/node_modules/style-loader/dist/runtime/setAttributesWithAttributesAndNonce.js
2023-10-07 19:42:30 +08:00

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;