From faca216010e40e1ff5d3faedc6b85fbcb3c02e1e Mon Sep 17 00:00:00 2001 From: Ad5001 Date: Fri, 21 Jan 2022 11:49:34 +0100 Subject: [PATCH] Removing a few unused debugs. --- LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/mathlib.js | 1 - LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objects.js | 1 - .../qml/eu/ad5001/LogarithmPlotter/js/objs/function.js | 1 - README.md | 2 +- 4 files changed, 1 insertion(+), 4 deletions(-) diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/mathlib.js b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/mathlib.js index 81762b4..30d93cb 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/mathlib.js +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/mathlib.js @@ -373,7 +373,6 @@ class SpecialDomain extends Domain { class DomainSet extends SpecialDomain { constructor(values) { super('', x => true, x => x, true) - console.log(values) var newVals = {} this.executedValues = [] for(var value of values) { diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objects.js b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objects.js index 700cc85..27681a0 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objects.js +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objects.js @@ -53,7 +53,6 @@ function getObjectsName(objType) { types.forEach(function(elemType){ elementNames = elementNames.concat(currentObjects[elemType].map(obj => obj.name)) }) - console.log(elementNames) return elementNames } if(currentObjects[objType] == undefined) return [] diff --git a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objs/function.js b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objs/function.js index bb4dc6e..182c2dd 100644 --- a/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objs/function.js +++ b/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/js/objs/function.js @@ -146,7 +146,6 @@ class Function extends Common.ExecutableObject { if(currentX === null) break; if((definitionDomain.includes(currentX) || definitionDomain.includes(previousX)) && (destinationDomain.includes(currentY) || destinationDomain.includes(previousY))) { - console.log(drawDash, drawPoints) if(drawDash) canvas.drawDashedLine(ctx, canvas.x2px(previousX), canvas.y2px(previousY), canvas.x2px(currentX), canvas.y2px(currentY)) if(drawPoints) { diff --git a/README.md b/README.md index 6a6251f..69e0430 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # ![icon](https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/logplotter.svg) LogarithmPlotter [![Build Status](https://ci.ad5001.eu/api/badges/Ad5001/LogarithmPlotter/status.svg)](https://ci.ad5001.eu/Ad5001/LogarithmPlotter) [![On flathub](https://img.shields.io/flathub/v/eu.ad5001.LogarithmPlotter?label=on%20flathub&logo=Flathub&logoColor=white&color=4A86CF)](https://flathub.org/apps/details/eu.ad5001.LogarithmPlotter) -[![On Snapcraft](https://badgen.net/snapcraft/v/logarithmplotter?label=on%20snapcraft&color=82BEA0&icon=https://ad5001.eu/icons/skills/snapcraft.svg)](https://snapcraft.io/logarithmplotter) +[![On Snapcraft](https://badgen.net/snapcraft/v/logarithmplotter?label=on%20snapstore&color=82BEA0&icon=https://ad5001.eu/icons/skills/snapcraft.svg)](https://snapcraft.io/logarithmplotter) Create graphs with logarithm scales, namely BODE diagrams. ## Run