From 03ded83af15645c92a11f5ea8d3525e20edde660 Mon Sep 17 00:00:00 2001 From: Mark MacKay Date: Mon, 29 Aug 2022 11:08:59 -0400 Subject: [PATCH] removing stray console logs --- src/js/editor.js | 1 - src/js/paste.js | 1 - src/js/start.js | 1 - 3 files changed, 3 deletions(-) diff --git a/src/js/editor.js b/src/js/editor.js index f49eb24..7af6655 100644 --- a/src/js/editor.js +++ b/src/js/editor.js @@ -301,7 +301,6 @@ MD.Editor = function(){ }; function saveCanvas(){ - console.log("saved") state.set("canvasContent", svgCanvas.getSvgString()); } diff --git a/src/js/paste.js b/src/js/paste.js index 96a586c..ed71ba0 100644 --- a/src/js/paste.js +++ b/src/js/paste.js @@ -7,7 +7,6 @@ document.onpaste = function(event){ var blob = item.getAsFile(); var reader = new FileReader(); reader.onload = function(event){ - console.log(event.target.result)}; // data url! reader.readAsDataURL(blob); } } diff --git a/src/js/start.js b/src/js/start.js index a65818a..7394989 100644 --- a/src/js/start.js +++ b/src/js/start.js @@ -34,7 +34,6 @@ state.set("canvasId", t("Untitled")); state.set("canvasMode", state.get("canvasMode")); // load from param -console.log(window.location.search) if (!window.location.search.includes("?load=")) { svgCanvas.setSvgString(state.get("canvasContent")); }