UNPKG

fabric

Version:

Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.

10 lines (9 loc) 337 B
import { attributesMap } from "./constants.mjs"; //#region src/parser/normalizeAttr.ts const normalizeAttr = (attr) => { var _attributesMap; return (_attributesMap = attributesMap[attr]) !== null && _attributesMap !== void 0 ? _attributesMap : attr; }; //#endregion export { normalizeAttr }; //# sourceMappingURL=normalizeAttr.mjs.map