fabric
Version:
Object model for HTML5 canvas, and SVG-to-canvas parser. Backed by jsdom and node-canvas.
3 lines (2 loc) • 564 B
JavaScript
function r(r,e,i){return(e=t(e))in r?Object.defineProperty(r,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[e]=i,r}function e(r,e){if("object"!=typeof r||!r)return r;var t=r[Symbol.toPrimitive];if(void 0!==t){var i=t.call(r,e);if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(r)}function t(r){var t=e(r,"string");return"symbol"==typeof t?t:t+""}export{r as defineProperty,e as toPrimitive,t as toPropertyKey};
//# sourceMappingURL=_rollupPluginBabelHelpers.min.mjs.map