Remove unused Manager.toSVG() and Manager.toGRID() functions

This commit is contained in:
Frederic Kettelhoit 2020-03-18 14:01:59 +01:00 committed by Atlas Cove
parent d69f0e542b
commit 1e2318ec65

View File

@ -112,21 +112,6 @@ function Manager (client) {
img.src = image64
}
this.toSVG = function (callback) {
this.update()
const image64 = this.svg64()
callback(image64, 'export.svg')
}
this.toGRID = function (callback) {
this.update()
const text = client.tool.export()
const file = new Blob([text], { type: 'text/plain' })
callback(URL.createObjectURL(file), 'export.grid')
}
this.toString = () => {
const viewBox = this.minimalViewBox();
if (viewBox !== '') {