Hi,
I'm having an issue in my testing environment. I include svg.js which early on does a test for whether svg's are supported in the current environment and exits out if they are not.
https://github.com/svgdotjs/svg.js/blob/04e21b18c30d546ed6a16b279504a2b58b503541/src/svg.js#L20
My issue is that svg.js will exit if not supported but svg.easing.js will not. svg.easing.js attempts to set SVG.easing[key] = easing[key] which fails because SVG.easing does not exist.
Would you accept a PR for a similar check for SVG.supported and exit the script the same way as svg.js does if it's not supported?
Hi,
I'm having an issue in my testing environment. I include
svg.jswhich early on does a test for whether svg's are supported in the current environment and exits out if they are not.https://github.com/svgdotjs/svg.js/blob/04e21b18c30d546ed6a16b279504a2b58b503541/src/svg.js#L20
My issue is that
svg.jswill exit if not supported butsvg.easing.jswill not.svg.easing.jsattempts to setSVG.easing[key] = easing[key]which fails becauseSVG.easingdoes not exist.Would you accept a PR for a similar check for
SVG.supportedand exit the script the same way assvg.jsdoes if it's not supported?