From a80f0b9994143ca9350eeddd8dee5d3a558ac27a Mon Sep 17 00:00:00 2001 From: David Koes Date: Wed, 17 Jul 2024 19:32:33 -0400 Subject: [PATCH] Remove debug mesgs --- package-lock.json | 4 ++-- src/GLViewer.ts | 4 ---- src/ui/state.js | 1 - src/ui/ui.js | 3 --- 4 files changed, 2 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index f1c2cc432..57d4761fc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "3dmol", - "version": "2.2.0", + "version": "2.2.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "3dmol", - "version": "2.2.0", + "version": "2.2.1", "license": "BSD-3-Clause", "dependencies": { "iobuffer": "^5.3.1", diff --git a/src/GLViewer.ts b/src/GLViewer.ts index 929634a8e..f093c2911 100644 --- a/src/GLViewer.ts +++ b/src/GLViewer.ts @@ -1359,8 +1359,6 @@ export class GLViewer { this.WIDTH = this.getWidth(); this.HEIGHT = this.getHeight(); let regen = false; - console.log("resize "+this.container.id); - console.log("lost "+this.renderer.isLost() + " w"+this.WIDTH+ " h"+this.HEIGHT); if (this.renderer.isLost() && this.WIDTH > 0 && this.HEIGHT > 0) { //create new context let resetcanvas = false; @@ -1383,8 +1381,6 @@ export class GLViewer { if(resetcanvas) { this.config.canvas = this.renderer.getCanvas(); } - console.log("regen "+regen+" resetcanvas "+resetcanvas); - } if (this.WIDTH == 0 || this.HEIGHT == 0) { if (this.animated) this._viewer.pauseAnimate(); diff --git a/src/ui/state.js b/src/ui/state.js index cc0d09937..2f3dd1cf6 100644 --- a/src/ui/state.js +++ b/src/ui/state.js @@ -221,7 +221,6 @@ $3Dmol.StateManager = (function(){ glviewer.removeSurface(surfaces[surfaceProperty.id]); - console.log(surfaceProperty); glviewer.addSurface( $3Dmol.SurfaceType[surfaceProperty.surfaceType.value], style, diff --git a/src/ui/ui.js b/src/ui/ui.js index a8679d13f..6ab607dc5 100644 --- a/src/ui/ui.js +++ b/src/ui/ui.js @@ -1170,8 +1170,6 @@ $3Dmol.UI = (function () { } else { valueHolder.text(value.replace(/\^/g, '')); } - - console.log('Type of value', typeof (value), value); } /* @@ -1819,7 +1817,6 @@ $3Dmol.UI = (function () { else { formSurfaceStyle.getValue(); control.id = surfaceBox.data('surf-id'); - console.log('Edit surface called') stateManager.editSurface(control); // -> add updateSurface funciton to surfaceMenu surfacePropertyBox.hide(); }