source: frontend/node_modules/style-loader/dist/runtime/setAttributesWithAttributes.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 403 bytes
RevLine 
[9af201e]1"use strict";
2
3/* istanbul ignore next */
4function setAttributesWithoutAttributes(styleElement, attributes) {
5 var nonce = typeof __webpack_nonce__ !== "undefined" ? __webpack_nonce__ : null;
6 if (nonce) {
7 attributes.nonce = nonce;
8 }
9 Object.keys(attributes).forEach(function (key) {
10 styleElement.setAttribute(key, attributes[key]);
11 });
12}
13module.exports = setAttributesWithoutAttributes;
Note: See TracBrowser for help on using the repository browser.