import {safari} from '../../core/browser.mjs';
export default class Exporter {
constructor() {
this.latestSVG = null;
this.latestInternalSVG = null;
this.canvas = null;
this.context = null;
this.indexPNG = 0;
this.latestPNGIndex = 0;
this.latestPNG = null;
}
getSVGContent(renderer) {
let code = renderer.dom().outerHTML;
/*
* Firefox fails to render SVGs as
unless they have size
* attributes on the