fractal-core
Version:
A minimalist and well crafted app, content or component is our conviction
12 lines • 407 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
const forOwn = require("lodash.forown");
const escape = require("lodash.escape");
// data.attrs
module.exports = function attrsModule(vnode, attributes) {
var attrs = vnode.data.attrs || {};
forOwn(attrs, function (value, key) {
attributes.set(key, escape(value));
});
};
//# sourceMappingURL=attributes.js.map