Skip to content

Commit

Permalink
Remove unused Manager.toSVG() and Manager.toGRID() functions
Browse files Browse the repository at this point in the history
  • Loading branch information
fkettelhoit committed Mar 18, 2020
1 parent 6895f3e commit b516105
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions desktop/sources/scripts/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 !== '') {
Expand Down

0 comments on commit b516105

Please sign in to comment.