Skip to content

Commit a80f0b9

Browse files
committed
Remove debug mesgs
1 parent 8250ef1 commit a80f0b9

File tree

4 files changed

+2
-10
lines changed

4 files changed

+2
-10
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/GLViewer.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1359,8 +1359,6 @@ export class GLViewer {
13591359
this.WIDTH = this.getWidth();
13601360
this.HEIGHT = this.getHeight();
13611361
let regen = false;
1362-
console.log("resize "+this.container.id);
1363-
console.log("lost "+this.renderer.isLost() + " w"+this.WIDTH+ " h"+this.HEIGHT);
13641362
if (this.renderer.isLost() && this.WIDTH > 0 && this.HEIGHT > 0) {
13651363
//create new context
13661364
let resetcanvas = false;
@@ -1383,8 +1381,6 @@ export class GLViewer {
13831381
if(resetcanvas) {
13841382
this.config.canvas = this.renderer.getCanvas();
13851383
}
1386-
console.log("regen "+regen+" resetcanvas "+resetcanvas);
1387-
13881384
}
13891385
if (this.WIDTH == 0 || this.HEIGHT == 0) {
13901386
if (this.animated) this._viewer.pauseAnimate();

src/ui/state.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,6 @@ $3Dmol.StateManager = (function(){
221221

222222
glviewer.removeSurface(surfaces[surfaceProperty.id]);
223223

224-
console.log(surfaceProperty);
225224
glviewer.addSurface(
226225
$3Dmol.SurfaceType[surfaceProperty.surfaceType.value],
227226
style,

src/ui/ui.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,8 +1170,6 @@ $3Dmol.UI = (function () {
11701170
} else {
11711171
valueHolder.text(value.replace(/\^/g, ''));
11721172
}
1173-
1174-
console.log('Type of value', typeof (value), value);
11751173
}
11761174

11771175
/*
@@ -1819,7 +1817,6 @@ $3Dmol.UI = (function () {
18191817
else {
18201818
formSurfaceStyle.getValue();
18211819
control.id = surfaceBox.data('surf-id');
1822-
console.log('Edit surface called')
18231820
stateManager.editSurface(control); // -> add updateSurface funciton to surfaceMenu
18241821
surfacePropertyBox.hide();
18251822
}

0 commit comments

Comments
 (0)