From 1e2318ec6523559754f57863d697fa683dff42e5 Mon Sep 17 00:00:00 2001 From: Frederic Kettelhoit Date: Wed, 18 Mar 2020 14:01:59 +0100 Subject: [PATCH] Remove unused Manager.toSVG() and Manager.toGRID() functions --- scripts/manager.js | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/scripts/manager.js b/scripts/manager.js index d443609..e89762b 100644 --- a/scripts/manager.js +++ b/scripts/manager.js @@ -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 !== '') {